mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08: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
@ -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…
Reference in New Issue
Block a user