From 83884180ac5d4b55abc525099e99a7e1f0879559 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 19 Oct 2006 02:30:02 +0000 Subject: Builds using synchronous name resolver dislike marking the connection as async. --- lib/url.c | 2 ++ 1 file changed, 2 insertions(+) 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 { /* -- cgit v1.2.3