speed-time.d 668 B

123456789101112131415161718
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: speed-time
  4. Short: y
  5. Arg: <seconds>
  6. Help: Trigger 'speed-limit' abort after this time
  7. Category: connection
  8. Example: --speed-limit 300 --speed-time 10 $URL
  9. Added: 4.7
  10. See-also: speed-limit limit-rate
  11. Multi: single
  12. ---
  13. If a transfer runs slower than speed-limit bytes per second during a speed-time
  14. period, the transfer is aborted. If speed-time is used, the default
  15. speed-limit will be 1 unless set with --speed-limit.
  16. This option controls transfers (in both directions) but will not affect slow
  17. connects etc. If this is a concern for you, try the --connect-timeout option.