retry-max-time.d 746 B

123456789101112131415161718
  1. c: Copyright (C) 1998 - 2022, 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. ---
  11. The retry timer is reset before the first transfer attempt. Retries will be
  12. done as usual (see --retry) as long as the timer has not reached this given
  13. limit. Notice that if the timer has not reached the limit, the request will be
  14. made and while performing, it may take longer than this given time period. To
  15. limit a single request's maximum time, use --max-time. Set this option to
  16. zero to not timeout retries.
  17. If this option is used several times, the last one will be used.