From: Daniel Stenberg Date: Thu, 2 Jun 2022 12:14:42 +0000 (+0200) Subject: speed-limit/time.d: mention these affect transfers in either direction X-Git-Tag: curl-7_84_0~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cce50bd323759d2ddf59f983c0832c13e4d12e50;p=thirdparty%2Fcurl.git speed-limit/time.d: mention these affect transfers in either direction Reported-by: Ladar Levison Fixes #8948 Closes #8951 --- diff --git a/docs/cmdline-opts/speed-limit.d b/docs/cmdline-opts/speed-limit.d index c07b1d760f..9725647912 100644 --- a/docs/cmdline-opts/speed-limit.d +++ b/docs/cmdline-opts/speed-limit.d @@ -7,7 +7,7 @@ Example: --speed-limit 300 --speed-time 10 $URL Added: 4.7 See-also: speed-time limit-rate max-time --- -If a download is slower than this given speed (in bytes per second) for +If a transfer is slower than this given speed (in bytes per second) for speed-time seconds it gets aborted. speed-time is set with --speed-time and is 30 if not set. diff --git a/docs/cmdline-opts/speed-time.d b/docs/cmdline-opts/speed-time.d index 89cba59b60..0c6369a2c9 100644 --- a/docs/cmdline-opts/speed-time.d +++ b/docs/cmdline-opts/speed-time.d @@ -7,11 +7,11 @@ Example: --speed-limit 300 --speed-time 10 $URL Added: 4.7 See-also: speed-limit limit-rate --- -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 +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 and thus will not affect slow connects etc. If -this is a concern for you, try the --connect-timeout option. +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. If this option is used several times, the last one will be used.