mirror of
https://github.com/curl/curl.git
synced 2026-07-28 01:53:05 +03:00
readwrite_data: repair setting the TIMER_STARTTRANSFER stamp
Regression, broken in commit 65eb65fde6 (curl 7.64.1)
Reported-by: Jonathan Cardoso Machado
Assisted-by: Jay Satiro
Fixes #4136
Closes #4162
This commit is contained in:
parent
cb46b193f1
commit
cb542ac4d0
1 changed files with 1 additions and 1 deletions
|
|
@ -601,7 +601,7 @@ static CURLcode readwrite_data(struct Curl_easy *data,
|
|||
nread = 0;
|
||||
}
|
||||
|
||||
if((k->bytecount == 0) && (k->writebytecount == 0)) {
|
||||
if(!k->bytecount) {
|
||||
Curl_pgrsTime(data, TIMER_STARTTRANSFER);
|
||||
if(k->exp100 > EXP100_SEND_DATA)
|
||||
/* set time stamp to compare with when waiting for the 100 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue