aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-06 11:57:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-07 14:45:44 +0200
commit640b9733de74d629af68afcad0ff8bb658e80eff (patch)
tree2a6b8f44a26baf7829246658f11489422cee615a /docs/cmdline-opts
parentd39ae9d493f5e3abc1241d6e7ff89a885be1387a (diff)
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.d3
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.