mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
16 lines
628 B
D
16 lines
628 B
D
Long: retry-max-time
|
|
Arg: <seconds>
|
|
Help: Retry only within this period
|
|
Added: 7.12.3
|
|
Category: curl
|
|
Example: --retry-max-time 30 --retry 10 $URL
|
|
---
|
|
The retry timer is reset before the first transfer attempt. Retries will be
|
|
done as usual (see --retry) as long as the timer hasn't reached this given
|
|
limit. Notice that if the timer hasn't reached the limit, the request will be
|
|
made and while performing, it may take longer than this given time period. To
|
|
limit a single request\'s maximum time, use --max-time. Set this option to
|
|
zero to not timeout retries.
|
|
|
|
If this option is used several times, the last one will be used.
|