xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 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 | 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. |