From 640b9733de74d629af68afcad0ff8bb658e80eff Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 6 Aug 2019 11:57:02 +0200 Subject: 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 --- docs/cmdline-opts/retry.d | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/cmdline-opts/retry.d') 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. -- cgit v1.2.3