From: Daniel Stenberg Date: Sun, 21 Sep 2003 23:10:47 +0000 (+0000) Subject: failing to resolve a name using ares must Curl_disconnect() the handle X-Git-Tag: curl-7_10_8~198 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8aa2894bfb9a379ebb47ada638736b00ba46a1ea;p=curl failing to resolve a name using ares must Curl_disconnect() the handle properly or risk getting into trouble! --- diff --git a/lib/multi.c b/lib/multi.c index ddefa9ec8..a1e10d59b 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -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; }