failing to resolve a name using ares must Curl_disconnect() the handle
properly or risk getting into trouble!
This commit is contained in:
parent
f40467638d
commit
8aa2894bfb
@ -375,6 +375,7 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles)
|
||||
|
||||
if(CURLE_OK != easy->result) {
|
||||
/* failure detected */
|
||||
Curl_disconnect(easy->easy_conn); /* disconnect properly */
|
||||
easy->easy_conn = NULL; /* no more connection */
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user