blob: 2e132f94604e11c21fde42229c6765a0bfaf16a1 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: retry-max-time
4Arg: <seconds>
5Help: Retry only within this period
6Added: 7.12.3
7Category: curl
8Example: --retry-max-time 30 --retry 10 $URL
9See-also: retry
10Multi: single
11---
12The retry timer is reset before the first transfer attempt. Retries will be
13done as usual (see --retry) as long as the timer has not reached this given
14limit. Notice that if the timer has not reached the limit, the request will be
15made and while performing, it may take longer than this given time period. To
16limit a single request's maximum time, use --max-time. Set this option to
17zero to not timeout retries.