Builds using synchronous name resolver dislike marking the connection as async.

This commit is contained in:
Yang Tse 2006-10-19 02:30:02 +00:00
parent 4cac96c33a
commit 83884180ac
1 changed files with 2 additions and 0 deletions

View File

@ -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 {
/*