1*6236dae4SAndroid Build Coastguard Worker--- 2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al. 3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl 4*6236dae4SAndroid Build Coastguard WorkerLong: retry-max-time 5*6236dae4SAndroid Build Coastguard WorkerArg: <seconds> 6*6236dae4SAndroid Build Coastguard WorkerHelp: Retry only within this period 7*6236dae4SAndroid Build Coastguard WorkerAdded: 7.12.3 8*6236dae4SAndroid Build Coastguard WorkerCategory: curl timeout 9*6236dae4SAndroid Build Coastguard WorkerMulti: single 10*6236dae4SAndroid Build Coastguard WorkerSee-also: 11*6236dae4SAndroid Build Coastguard Worker - retry 12*6236dae4SAndroid Build Coastguard WorkerExample: 13*6236dae4SAndroid Build Coastguard Worker - --retry-max-time 30 --retry 10 $URL 14*6236dae4SAndroid Build Coastguard Worker--- 15*6236dae4SAndroid Build Coastguard Worker 16*6236dae4SAndroid Build Coastguard Worker# `--retry-max-time` 17*6236dae4SAndroid Build Coastguard Worker 18*6236dae4SAndroid Build Coastguard WorkerThe retry timer is reset before the first transfer attempt. Retries are done 19*6236dae4SAndroid Build Coastguard Workeras usual (see --retry) as long as the timer has not reached this given 20*6236dae4SAndroid Build Coastguard Workerlimit. Notice that if the timer has not reached the limit, the request is 21*6236dae4SAndroid Build Coastguard Workermade and while performing, it may take longer than this given time period. To 22*6236dae4SAndroid Build Coastguard Workerlimit a single request's maximum time, use --max-time. Set this option to zero 23*6236dae4SAndroid Build Coastguard Workerto not timeout retries. 24