retry-delay.md 591 B


c: Copyright (C) Daniel Stenberg, daniel@haxx.se, et al. SPDX-License-Identifier: curl Long: retry-delay Arg: Help: Wait time between retries Added: 7.12.3 Category: curl timeout Multi: single See-also:

  • retry Example:
  • --retry-delay 5 --retry 7 $URL ---

--retry-delay

Make curl sleep this amount of time before each retry when a transfer has failed with a transient error (it changes the default backoff time algorithm between retries). This option is only interesting if --retry is also used. Setting this delay to zero makes curl use the default backoff time.