From 403efd1778add399a9222dda87a96a888ed1b91b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 2 Jun 2022 14:14:42 +0200 Subject: [PATCH] speed-limit/time.d: mention these affect transfers in either direction Reported-by: Ladar Levison Fixes #8948 --- docs/cmdline-opts/speed-limit.d | 2 +- docs/cmdline-opts/speed-time.d | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/cmdline-opts/speed-limit.d b/docs/cmdline-opts/speed-limit.d index c07b1d760f65f8..9725647912a825 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 89cba59b60f8b4..0c6369a2c958a7 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.