xref: /aosp_15_r20/external/curl/docs/cmdline-opts/speed-limit.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1---
2c: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3SPDX-License-Identifier: curl
4Long: speed-limit
5Short: Y
6Arg: <speed>
7Help: Stop transfers slower than this
8Category: connection
9Added: 4.7
10Multi: single
11See-also:
12  - speed-time
13  - limit-rate
14  - max-time
15Example:
16  - --speed-limit 300 --speed-time 10 $URL
17---
18
19# `--speed-limit`
20
21If a transfer is slower than this set speed (in bytes per second) for a given
22number of seconds, it gets aborted. The time period is set with --speed-time
23and is 30 seconds by default.
24