mirror of
https://github.com/curl/curl.git
synced 2026-06-02 00:04:15 +03:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue