diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-06 11:57:02 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-07 14:45:44 +0200 |
commit | 640b9733de74d629af68afcad0ff8bb658e80eff (patch) | |
tree | 2a6b8f44a26baf7829246658f11489422cee615a /docs/cmdline-opts | |
parent | d39ae9d493f5e3abc1241d6e7ff89a885be1387a (diff) | |
download | curl-640b9733de74d629af68afcad0ff8bb658e80eff.tar.gz |
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
Diffstat (limited to 'docs/cmdline-opts')
-rw-r--r-- | docs/cmdline-opts/retry.d | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/cmdline-opts/retry.d b/docs/cmdline-opts/retry.d index 32d1c799b..3db89b71c 100644 --- a/docs/cmdline-opts/retry.d +++ b/docs/cmdline-opts/retry.d @@ -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. |