diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-01-14 23:31:57 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-01-14 23:31:57 +0100 |
commit | cc28bc472ec421cec2ba26d653e53892998a248d (patch) | |
tree | d867a0a254b1543a448a5b4ccc92858f26212dba /lib | |
parent | e9834808e9e8ccb3028ecbe2b76475c111cc899a (diff) |
Curl_pretransfer: reset expected transfer sizes
Reported-by: Mohammad AlSaleh
Bug: http://curl.haxx.se/mail/lib-2015-01/0065.html
Diffstat (limited to 'lib')
-rw-r--r-- | lib/transfer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index a7ab08ecf..75aaedfca 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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 * you should have received as part of this distribution. The terms @@ -1342,6 +1342,7 @@ CURLcode Curl_pretransfer(struct SessionHandle *data) #endif Curl_initinfo(data); /* reset session-specific information "variables" */ + Curl_pgrsResetTimesSizes(data); Curl_pgrsStartNow(data); if(data->set.timeout) |