mirror of
https://github.com/curl/curl.git
synced 2026-07-27 08:47:21 +03:00
CURLINFO_SIZE_UPLOAD: fix missing counter update
Adds test 1522 for verification. Reported-by: cjmsoregan Fixes #2847 Closes #2864
This commit is contained in:
parent
53d211bfd1
commit
2a278fd735
5 changed files with 147 additions and 2 deletions
|
|
@ -2887,6 +2887,8 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
|
|||
data->req.exp100 = EXP100_SEND_DATA; /* already sent */
|
||||
Curl_expire_done(data, EXPIRE_100_TIMEOUT);
|
||||
}
|
||||
else
|
||||
data->req.writebytecount = http->writebytecount;
|
||||
}
|
||||
|
||||
if((conn->httpversion == 20) && data->req.upload_chunky)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue