speed-time.d 733 B

12345678910111213141516171819
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, 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. ---
  12. If a transfer runs slower than speed-limit bytes per second during a speed-time
  13. period, the transfer is aborted. If speed-time is used, the default
  14. speed-limit will be 1 unless set with --speed-limit.
  15. This option controls transfers (in both directions) but will not affect slow
  16. connects etc. If this is a concern for you, try the --connect-timeout option.
  17. If this option is used several times, the last one will be used.