projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f404676
)
failing to resolve a name using ares must Curl_disconnect() the handle
author
Daniel Stenberg
<daniel@haxx.se>
Sun, 21 Sep 2003 23:10:47 +0000
(23:10 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Sun, 21 Sep 2003 23:10:47 +0000
(23:10 +0000)
properly or risk getting into trouble!
lib/multi.c
patch
|
blob
|
history
diff --git
a/lib/multi.c
b/lib/multi.c
index ddefa9ec8399582f8fb2daec3870489464670c2f..a1e10d59b1061e2f3396d6e1943c4d3e4dffc59b 100644
(file)
--- 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;
}