Commit 2b1f6832 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent a2b19c9a
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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;
}
}