File: speed-time.d

package info (click to toggle)
curl 7.74.0-1.3%2Bdeb11u13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 38,532 kB
  • sloc: ansic: 155,566; perl: 14,107; sh: 5,226; makefile: 1,487; python: 623; pascal: 603; cpp: 169
file content (14 lines) | stat: -rw-r--r-- 523 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Long: speed-time
Short: y
Arg: <seconds>
Help: Trigger 'speed-limit' abort after this time
Category: connection
---
If a download is slower than speed-limit bytes per second during a speed-time
period, the download gets aborted. If speed-time is used, the default
speed-limit will be 1 unless set with --speed-limit.

This option controls transfers and thus will not affect slow connects etc. If
this is a concern for you, try the --connect-timeout option.

If this option is used several times, the last one will be used.