mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 07:38:49 -05:00
RESOLVE: output verbose text when trying to set a duplicate name
... to help users understand what is or isn't done!
This commit is contained in:
parent
bbea75ad69
commit
b1b94305d8
@ -877,9 +877,12 @@ CURLcode Curl_loadhostpairs(struct Curl_easy *data)
|
|||||||
dns->inuse--;
|
dns->inuse--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
/* this is a duplicate, free it again */
|
/* this is a duplicate, free it again */
|
||||||
|
infof(data, "RESOLVE %s:%d is already cached, %s not stored!\n",
|
||||||
|
hostname, port, address);
|
||||||
Curl_freeaddrinfo(addr);
|
Curl_freeaddrinfo(addr);
|
||||||
|
}
|
||||||
|
|
||||||
if(data->share)
|
if(data->share)
|
||||||
Curl_share_unlock(data, CURL_LOCK_DATA_DNS);
|
Curl_share_unlock(data, CURL_LOCK_DATA_DNS);
|
||||||
|
Loading…
Reference in New Issue
Block a user