mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
readwrite_data: repair setting the TIMER_STARTTRANSFER stamp
Regression, broken in commit 65eb65fde64bd5f (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…
x
Reference in New Issue
Block a user