Builds using synchronous name resolver dislike marking the connection as async.
This commit is contained in:
Родитель
4cac96c33a
Коммит
83884180ac
|
@ -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 {
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче