Skip to content
Snippets Groups Projects
Commit 83884180 authored by Yang Tse's avatar Yang Tse
Browse files

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

parent 4cac96c3
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment