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:
a8996b9
)
When a connection is re-used, it can be flagged for re-use before the name
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 18 Oct 2006 15:10:49 +0000
(15:10 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 18 Oct 2006 15:10:49 +0000
(15:10 +0000)
resolving is completed so we must make sure to survive it and mark the
connection as async (ie not yet connected completely).
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
1a5ae15
..
850a945
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-3622,6
+3622,10
@@
static CURLcode CreateConnection(struct SessionHandle *data,
infof(data, "Re-using existing connection! (#%ld) with host %s\n",
conn->connectindex,
conn->bits.httpproxy?conn->proxy.dispname:conn->host.dispname);
+ if(!conn->dns_entry) {
+ infof(data, "... but it is not resolved yet!\n");
+ *async = TRUE;
+ }
}
else {
/*