retry-all-errors.d 1014 B

1234567891011121314151617181920
  1. Long: retry-all-errors
  2. Help: Retry all errors (use with --retry)
  3. Added: 7.71.0
  4. Category: curl
  5. ---
  6. Retry on any error. This option is used together with --retry.
  7. This option is the "sledgehammer" of retrying. Do not use this option by
  8. default (eg in curlrc), there may be unintended consequences such as sending or
  9. receiving duplicate data. Do not use with redirected input or output. You'd be
  10. much better off handling your unique problems in shell script. Please read the
  11. example below.
  12. Warning: For server compatibility curl attempts to retry failed flaky transfers
  13. as close as possible to how they were started, but this is not possible with
  14. redirected input or output. For example, before retrying it removes output data
  15. from a failed partial transfer that was written to an output file. However this
  16. is not true of data redirected to a | pipe or > file, which are not reset. We
  17. strongly suggest don't parse or record output via redirect in combination with
  18. this option, since you may receive duplicate data.