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:
35d04c5
)
make sure the dns cache pointers in the easy handles are NULLed
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 2 May 2002 18:07:38 +0000
(18:07 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 2 May 2002 18:07:38 +0000
(18:07 +0000)
lib/multi.c
patch
|
blob
|
history
diff --git
a/lib/multi.c
b/lib/multi.c
index a21fc56746e0e9546c5e12f2b9329a71889f4c1a..a1111ccd5090c0abc531be9f2e5d8c80591b839d 100644
(file)
--- a/
lib/multi.c
+++ b/
lib/multi.c
@@
-383,6
+383,9
@@
CURLMcode curl_multi_cleanup(CURLM *multi_handle)
easy = multi->easy.next;
while(easy) {
nexteasy=easy->next;
+ /* clear out the usage of the shared DNS cache */
+ easy->easy_handle->hostcache = NULL;
+
free(easy);
easy = nexteasy;
}