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