Skip to content
Snippets Groups Projects
Commit 2b1f6832 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent a2b19c9a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment