From: Daniel Stenberg Date: Sun, 27 Jan 2002 11:49:17 +0000 (+0000) Subject: set header and request size to 0 before each *_perform() X-Git-Tag: curl-7_9_4~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b1f6832395f2424f2f081a262dd3e8e6a70b82c;p=curl set header and request size to 0 before each *_perform() --- 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; }