mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05: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
@ -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…
Reference in New Issue
Block a user