Builds using synchronous name resolver dislike marking the connection as async.
This commit is contained in:
parent
4cac96c33a
commit
83884180ac
@ -3622,10 +3622,12 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
|||||||
infof(data, "Re-using existing connection! (#%ld) with host %s\n",
|
infof(data, "Re-using existing connection! (#%ld) with host %s\n",
|
||||||
conn->connectindex,
|
conn->connectindex,
|
||||||
conn->bits.httpproxy?conn->proxy.dispname:conn->host.dispname);
|
conn->bits.httpproxy?conn->proxy.dispname:conn->host.dispname);
|
||||||
|
#ifdef CURLRES_ASYNCH
|
||||||
if(!conn->dns_entry) {
|
if(!conn->dns_entry) {
|
||||||
infof(data, "... but it is not resolved yet!\n");
|
infof(data, "... but it is not resolved yet!\n");
|
||||||
*async = TRUE;
|
*async = TRUE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user