aboutsummaryrefslogtreecommitdiff
path: root/lib/getinfo.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-27 11:49:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-27 11:49:17 +0000
commit2b1f6832395f2424f2f081a262dd3e8e6a70b82c (patch)
tree71e3548bc1537e35462211ebea5ec766a5c918db /lib/getinfo.c
parenta2b19c9a63f7db987a87385042172c2dd4487db8 (diff)
set header and request size to 0 before each *_perform()
Diffstat (limited to 'lib/getinfo.c')
-rw-r--r--lib/getinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c
index cdb69ca72..51ceacbe6 100644
--- a/lib/getinfo.c
+++ b/lib/getinfo.c
@@ -48,6 +48,8 @@ CURLcode Curl_initinfo(struct SessionHandle *data)
info->httpcode = 0;
info->httpversion=0;
info->filetime=-1; /* -1 is an illegal time and thus means unknown */
+ info->header_size = 0;
+ info->request_size = 0;
return CURLE_OK;
}