X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fgetaddrinfo.c;h=5796e32af560c3cf78b0d70b242824b02c6eb352;hb=8cc486015ba87bc3daf483d18d31d163c3670a21;hp=a815e3334147025de2dae8a26353f49cf358ec79;hpb=4c7509d1e7e847b0d81af123f630756df0b265b4;p=pazpar2-moved-to-github.git diff --git a/src/getaddrinfo.c b/src/getaddrinfo.c index a815e33..5796e32 100644 --- a/src/getaddrinfo.c +++ b/src/getaddrinfo.c @@ -177,7 +177,7 @@ static void getaddrinfo_start(iochan_man_t iochan_man) int host_getaddrinfo(struct host *host, iochan_man_t iochan_man) { struct work *w = xmalloc(sizeof(*w)); - int use_thread = 0; /* =0 to disable threading entirely */ + int use_thread = 1; /* =0 to disable threading entirely */ w->hostport = host->tproxy ? host->tproxy : host->proxy; w->ipport = 0;