summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/speed-time.d
blob: fe92b97f111948b1fa63df772ae4e41804a8b58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: speed-time
Short: y
Arg: <seconds>
Help: Trigger 'speed-limit' abort after this time
Category: connection
Example: --speed-limit 300 --speed-time 10 $URL
Added: 4.7
See-also: speed-limit limit-rate
Multi: single
---
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 will be 1 unless set with --speed-limit.

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