mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
Curl_pretransfer: reset expected transfer sizes
Reported-by: Mohammad AlSaleh Bug: http://curl.haxx.se/mail/lib-2015-01/0065.html
This commit is contained in:
parent
e9834808e9
commit
cc28bc472e
@ -5,7 +5,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -1342,6 +1342,7 @@ CURLcode Curl_pretransfer(struct SessionHandle *data)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
Curl_initinfo(data); /* reset session-specific information "variables" */
|
Curl_initinfo(data); /* reset session-specific information "variables" */
|
||||||
|
Curl_pgrsResetTimesSizes(data);
|
||||||
Curl_pgrsStartNow(data);
|
Curl_pgrsStartNow(data);
|
||||||
|
|
||||||
if(data->set.timeout)
|
if(data->set.timeout)
|
||||||
|
Loading…
Reference in New Issue
Block a user