mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
set header and request size to 0 before each *_perform()
This commit is contained in:
parent
a2b19c9a63
commit
2b1f683239
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user