projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make use of threaded resolver
[pazpar2-moved-to-github.git]
/
src
/
getaddrinfo.c
diff --git
a/src/getaddrinfo.c
b/src/getaddrinfo.c
index
a815e33
..
5796e32
100644
(file)
--- 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 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;
w->hostport = host->tproxy ? host->tproxy : host->proxy;
w->ipport = 0;