Commit 8aa2894b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

failing to resolve a name using ares must Curl_disconnect() the handle

properly or risk getting into trouble!
parent f4046763
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
        }