1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

set header and request size to 0 before each *_perform()

This commit is contained in:
Daniel Stenberg 2002-01-27 11:49:17 +00:00
parent a2b19c9a63
commit 2b1f683239

View File

@ -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;
}