From 2b1f6832395f2424f2f081a262dd3e8e6a70b82c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 27 Jan 2002 11:49:17 +0000 Subject: set header and request size to 0 before each *_perform() --- lib/getinfo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/getinfo.c') 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; } -- cgit v1.2.3