From: Adam Dickmeiss Date: Fri, 28 Feb 2014 12:48:44 +0000 (+0100) Subject: ZOOM C uses non-blocking getaddrinfo X-Git-Tag: v5.0.19~13 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=f3fa080453f6e57618216f6e58d871fb06f0d1b6;p=yaz-moved-to-github.git ZOOM C uses non-blocking getaddrinfo --- diff --git a/src/zoom-c.c b/src/zoom-c.c index 1bbac7e..e7f25c2 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -1064,7 +1064,7 @@ static zoom_ret do_connect_host(ZOOM_connection c, const char *logical_url) if (c->cs) cs_close(c->cs); - c->cs = cs_create_host_proxy(logical_url, 0, &add, + c->cs = cs_create_host_proxy(logical_url, CS_FLAGS_DNS_NO_BLOCK, &add, c->tproxy ? c->tproxy : c->proxy); if (c->cs && c->cs->protocol == PROTO_HTTP)