curl-w32/docs/cmdline-opts/speed-time.md

698 B

c SPDX-License-Identifier Long Short Arg Help Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl speed-time y <seconds> Trigger 'speed-limit' abort after this time connection 4.7 single
speed-limit
limit-rate
--speed-limit 300 --speed-time 10 $URL

--speed-time

If a transfer runs slower than speed-limit bytes per second during a speed-time period, the transfer is aborted. If speed-time is used, the default speed-limit is 1 unless set with --speed-limit.

This option controls transfers (in both directions) but does not affect slow connects etc. If this is a concern for you, try the --connect-timeout option.