retry-max-time.d 681 B

1234567891011121314151617
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: retry-max-time
  4. Arg: <seconds>
  5. Help: Retry only within this period
  6. Added: 7.12.3
  7. Category: curl
  8. Example: --retry-max-time 30 --retry 10 $URL
  9. See-also: retry
  10. Multi: single
  11. ---
  12. The retry timer is reset before the first transfer attempt. Retries will be
  13. done as usual (see --retry) as long as the timer has not reached this given
  14. limit. Notice that if the timer has not reached the limit, the request will be
  15. made and while performing, it may take longer than this given time period. To
  16. limit a single request's maximum time, use --max-time. Set this option to
  17. zero to not timeout retries.