1--- 2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3SPDX-License-Identifier: curl 4Long: max-time 5Short: m 6Arg: <seconds> 7Help: Maximum time allowed for transfer 8Category: connection timeout 9Added: 4.0 10Multi: single 11See-also: 12 - connect-timeout 13 - retry-max-time 14Example: 15 - --max-time 10 $URL 16 - --max-time 2.92 $URL 17--- 18 19# `--max-time` 20 21Set maximum time in seconds that you allow each transfer to take. Prevents 22your batch jobs from hanging for hours due to slow networks or links going 23down. This option accepts decimal values (added in 7.32.0). 24 25If you enable retrying the transfer (--retry) then the maximum time counter is 26reset each time the transfer is retried. You can use --retry-max-time to limit 27the retry time. 28 29The decimal value needs to be provided using a dot (.) as decimal separator - 30not the local version even if it might be using another separator. 31