diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-09-21 23:10:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-09-21 23:10:47 +0000 |
commit | 8aa2894bfb9a379ebb47ada638736b00ba46a1ea (patch) | |
tree | bd456075a6579c8532d205854e1f4f7016f6580c /lib | |
parent | f40467638de40c19d7f4faeb3d7e320af2a76fb1 (diff) |
failing to resolve a name using ares must Curl_disconnect() the handle
properly or risk getting into trouble!
Diffstat (limited to 'lib')
-rw-r--r-- | lib/multi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |