aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/transfer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index c90744d0f..4a65b6a66 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -603,6 +603,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
return result;
data->info.header_size += k->hbuflen;
+ conn->headerbytecount += k->hbuflen;
/* reset hbufp pointer && hbuflen */
k->hbufp = data->state.headerbuff;