aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-11-21 23:36:21 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-11-21 23:36:21 +0100
commit7248439fece7d0f32cc3d52c253b3960a66ad2b3 (patch)
tree218e1a9504ad224ab0649bd364c995c0da06f919 /lib
parentc532604b137cae2e2814280778f914e4cd0460d1 (diff)
protocol_connect: show verbose connect and set connect time
Regression: commit b998d95b (shipped first in release 7.22.0) made the condition always equal false that should reset the TIMER_CONNECT timer and call the Curl_verboseconnect() function. Reported by: "Captain Basil" Bug: http://curl.haxx.se/mail/archive-2011-11/0035.html
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/url.c b/lib/url.c
index f478e3828..517dc18da 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3345,11 +3345,8 @@ CURLcode Curl_protocol_connect(struct connectdata *conn,
return CURLE_OK;
}
- if(!conn->bits.tcpconnect[FIRSTSOCKET]) {
-
- Curl_pgrsTime(data, TIMER_CONNECT); /* connect done */
- Curl_verboseconnect(conn);
- }
+ Curl_pgrsTime(data, TIMER_CONNECT); /* connect done */
+ Curl_verboseconnect(conn);
if(!conn->bits.protoconnstart) {
if(conn->handler->connect_it) {