summaryrefslogtreecommitdiffstats
path: root/net/http/http_transaction_winhttp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_transaction_winhttp.cc')
-rw-r--r--net/http/http_transaction_winhttp.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/http/http_transaction_winhttp.cc b/net/http/http_transaction_winhttp.cc
index d609f24..ead0679 100644
--- a/net/http/http_transaction_winhttp.cc
+++ b/net/http/http_transaction_winhttp.cc
@@ -967,6 +967,9 @@ int HttpTransactionWinHttp::Restart(CompletionCallback* callback) {
// ensure that we only have one asynchronous call at a time.
DCHECK(!callback_);
+ content_length_remaining_ = -1;
+ upload_progress_ = 0;
+
int rv = SendRequest();
if (rv != ERR_IO_PENDING)
return rv;