When a resolve is made on a pipelined connection we need to detect it properly

(when the resoling isn't completede yet) and not confuse it with a simple
connection re-use (non-pipelined).
This commit is contained in:
Daniel Stenberg
2006-10-20 12:25:39 +00:00
parent 19e07771d1
commit bd5d21aaf2
2 changed files with 3 additions and 2 deletions

View File

@@ -3623,7 +3623,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
conn->connectindex,
conn->bits.httpproxy?conn->proxy.dispname:conn->host.dispname);
#ifdef CURLRES_ASYNCH
if(!conn->dns_entry) {
if(!conn->ip_addr_str) {
infof(data, "... but it is not resolved yet!\n");
*async = TRUE;
}