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:
5528c1e
)
store TIMER_CONNECT even if the connect failed
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 12 Apr 2002 10:03:59 +0000
(10:03 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 12 Apr 2002 10:03:59 +0000
(10:03 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index ca0bc2db18df6e6be2da5444ea4ad6d96527d9d3..fbe7afc94540c71e34f139663f0171768ccb08d1 100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-2276,10
+2276,11
@@
static CURLcode CreateConnection(struct SessionHandle *data,
if(-1 == conn->firstsocket) {
/* Connect only if not already connected! */
result = ConnectPlease(conn);
+ Curl_pgrsTime(data, TIMER_CONNECT); /* connect done, good or bad */
+
if(CURLE_OK != result)
return result;
- Curl_pgrsTime(data, TIMER_CONNECT); /* we're connected */
if(data->set.verbose)
verboseconnect(conn);