mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -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->httpcode = 0;
|
||||||
info->httpversion=0;
|
info->httpversion=0;
|
||||||
info->filetime=-1; /* -1 is an illegal time and thus means unknown */
|
info->filetime=-1; /* -1 is an illegal time and thus means unknown */
|
||||||
|
info->header_size = 0;
|
||||||
|
info->request_size = 0;
|
||||||
|
|
||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user