mirror of
https://github.com/curl/curl.git
synced 2026-08-02 18:00:27 +03:00
curl: make use of CURLINFO_RETRY_AFTER when retrying
If a Retry-After: header was used in the response, that value overrides other retry timing options. Fixes #3794 Closes #4195
This commit is contained in:
parent
d39ae9d493
commit
640b9733de
2 changed files with 17 additions and 1 deletions
|
|
@ -14,4 +14,7 @@ for all forthcoming retries it will double the waiting time until it reaches
|
|||
using --retry-delay you disable this exponential backoff algorithm. See also
|
||||
--retry-max-time to limit the total time allowed for retries.
|
||||
|
||||
Since curl 7.66.0, curl will comply with the Retry-After: response header if
|
||||
one was present to know when to issue the next retry.
|
||||
|
||||
If this option is used several times, the last one will be used.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue