retry-max-time.d 629 B

123456789101112131415
  1. Long: retry-max-time
  2. Arg: <seconds>
  3. Help: Retry only within this period
  4. Added: 7.12.3
  5. Category: curl
  6. Example: --retry-max-time 30 --retry 10 $URL
  7. ---
  8. The retry timer is reset before the first transfer attempt. Retries will be
  9. done as usual (see --retry) as long as the timer has not reached this given
  10. limit. Notice that if the timer has not reached the limit, the request will be
  11. made and while performing, it may take longer than this given time period. To
  12. limit a single request's maximum time, use --max-time. Set this option to
  13. zero to not timeout retries.
  14. If this option is used several times, the last one will be used.