2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2018-05-28 20:16:27 +08:00
|
|
|
Long: retry-max-time
|
2016-11-28 07:50:25 +08:00
|
|
|
Arg: <seconds>
|
|
|
|
Help: Retry only within this period
|
|
|
|
Added: 7.12.3
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: curl
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --retry-max-time 30 --retry 10 $URL
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: retry
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: single
|
2016-11-28 07:50:25 +08:00
|
|
|
---
|
|
|
|
The retry timer is reset before the first transfer attempt. Retries will be
|
2021-10-31 23:34:44 +08:00
|
|
|
done as usual (see --retry) as long as the timer has not reached this given
|
|
|
|
limit. Notice that if the timer has not reached the limit, the request will be
|
2016-11-28 07:50:25 +08:00
|
|
|
made and while performing, it may take longer than this given time period. To
|
2021-11-26 15:46:59 +08:00
|
|
|
limit a single request's maximum time, use --max-time. Set this option to
|
2016-11-28 07:50:25 +08:00
|
|
|
zero to not timeout retries.
|