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:
e1edd41
)
the check in ConnectionExists() for not re-using a non-resolved connection now
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 23 Oct 2006 20:41:50 +0000
(20:41 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 23 Oct 2006 20:41:50 +0000
(20:41 +0000)
applies for asynch name resolves in general and not only ares
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
4ca5d56
..
2cfbc9d
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-1937,7
+1937,7
@@
ConnectionExists(struct SessionHandle *data,
/* NULL pointer means not filled-in entry */
continue;
-#ifdef
USE_ARES
+#ifdef
CURLRES_ASYNCH
/* ip_addr_str is NULL only if the resolving of the name hasn't completed
yet and until then we don't re-use this connection */
if (!check->ip_addr_str)