projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1becd0
)
Hanno Kranzhoff noticed we didn't properly reset the download/upload counters
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 2 May 2002 08:52:09 +0000
(08:52 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 2 May 2002 08:52:09 +0000
(08:52 +0000)
before transfers, when doing multiple ones on the same handle.
lib/transfer.c
patch
|
blob
|
history
diff --git
a/lib/transfer.c
b/lib/transfer.c
index 0a544e8d2ceb77f9ae36ad54a39c603ee7ef0e78..5517a2fd5ab41439822827b97fbd97920f103546 100644
(file)
--- a/
lib/transfer.c
+++ b/
lib/transfer.c
@@
-913,6
+913,9
@@
CURLcode Curl_readwrite_init(struct connectdata *conn)
Curl_pgrsTime(data, TIMER_PRETRANSFER);
Curl_speedinit(data);
+ Curl_pgrsSetUploadCounter(data, 0);
+ Curl_pgrsSetDownloadCounter(data, 0);
+
if (!conn->getheader) {
k->header = FALSE;
if(conn->size > 0)