mirror of
https://github.com/curl/curl.git
synced 2026-05-30 12:37:28 +03:00
multi: remove total timer reset in file_do() while fetching file://
The total timer is properly reset in MSTATE_INIT. MSTATE_CONNECT starts with resetting the timer that is a start point for further multi states. If file://, MSTATE_DO calls file_do() that should not reset the total timer. Otherwise, the total time is always less than the pre-transfer and the start transfer times. Closes #12682
This commit is contained in:
parent
693cd16793
commit
98543fc2cf
1 changed files with 0 additions and 2 deletions
|
|
@ -419,8 +419,6 @@ static CURLcode file_do(struct Curl_easy *data, bool *done)
|
|||
|
||||
*done = TRUE; /* unconditionally */
|
||||
|
||||
Curl_pgrsStartNow(data);
|
||||
|
||||
if(data->state.upload)
|
||||
return file_upload(data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue