From: Yang Tse Date: Thu, 19 Oct 2006 02:30:02 +0000 (+0000) Subject: Builds using synchronous name resolver dislike marking the connection as async. X-Git-Tag: curl-7_16_0~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83884180ac5d4b55abc525099e99a7e1f0879559;p=curl Builds using synchronous name resolver dislike marking the connection as async. --- diff --git a/lib/url.c b/lib/url.c index 850a9451f..4bb4234f7 100644 --- a/lib/url.c +++ b/lib/url.c @@ -3622,10 +3622,12 @@ static CURLcode CreateConnection(struct SessionHandle *data, infof(data, "Re-using existing connection! (#%ld) with host %s\n", conn->connectindex, conn->bits.httpproxy?conn->proxy.dispname:conn->host.dispname); +#ifdef CURLRES_ASYNCH if(!conn->dns_entry) { infof(data, "... but it is not resolved yet!\n"); *async = TRUE; } +#endif } else { /*