mirror of
https://github.com/curl/curl.git
synced 2026-04-30 02:47:51 +03:00
multi: fix "Operation timed out after" timer
Use the local, reasonably updated, 'now' value when creating the message string to output for the timeout condition. Fixes #619
This commit is contained in:
parent
23ab481644
commit
726ae07b07
1 changed files with 1 additions and 1 deletions
|
|
@ -1075,7 +1075,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
|||
failf(data, "Operation timed out after %ld milliseconds with %"
|
||||
CURL_FORMAT_CURL_OFF_T " out of %"
|
||||
CURL_FORMAT_CURL_OFF_T " bytes received",
|
||||
Curl_tvdiff(k->now, data->progress.t_startsingle),
|
||||
Curl_tvdiff(now, data->progress.t_startsingle),
|
||||
k->bytecount, k->size);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue