1--- 2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3SPDX-License-Identifier: curl 4Long: max-time 5Short: m 6Arg: <fractional seconds> 7Help: Maximum time allowed for transfer 8Category: connection 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 21Maximum time in seconds that you allow each transfer to take. This is useful 22for preventing your batch jobs from hanging for hours due to slow networks or 23links going down. 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 provided using a dot (.) as decimal separator - not 30the local version even if it might be using another separator. 31