From: Daniel Stenberg Date: Mon, 23 Oct 2006 20:41:50 +0000 (+0000) Subject: the check in ConnectionExists() for not re-using a non-resolved connection now X-Git-Tag: curl-7_16_0~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36a3514225d610de64f089c36c39615de1139fcc;p=thirdparty%2Fcurl.git the check in ConnectionExists() for not re-using a non-resolved connection now applies for asynch name resolves in general and not only ares --- diff --git a/lib/url.c b/lib/url.c index 4ca5d56a76..2cfbc9d4ec 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1937,7 +1937,7 @@ ConnectionExists(struct SessionHandle *data, /* NULL pointer means not filled-in entry */ continue; -#ifdef USE_ARES +#ifdef CURLRES_ASYNCH /* ip_addr_str is NULL only if the resolving of the name hasn't completed yet and until then we don't re-use this connection */ if (!check->ip_addr_str)