aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 9b24a221b..60be9322e 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2034,6 +2034,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
conn->now = Curl_tvnow(); /* time this *after* the connect is done */
conn->bytecount = 0;
+ conn->headerbytecount = 0;
/* Figure out the ip-number and display the first host name it shows: */
#ifdef ENABLE_IPV6