limit-rate.d: this is average over several seconds

Closes #7970
This commit is contained in:
Daniel Stenberg 2021-11-06 12:44:52 +01:00
parent a28464ae77
commit f03778ffae
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -17,6 +17,9 @@ Appending 'k' or 'K' will count the number as kilobytes, 'm' or 'M' makes it
megabytes, while 'g' or 'G' makes it gigabytes. The suffixes (k, M, G, T, P) megabytes, while 'g' or 'G' makes it gigabytes. The suffixes (k, M, G, T, P)
are 1024 based. For example 1k is 1024. Examples: 200K, 3m and 1G. are 1024 based. For example 1k is 1024. Examples: 200K, 3m and 1G.
The rate limiting logic works on averaging the transfer speed to no more than
the set threshold over a period of multiple seconds.
If you also use the --speed-limit option, that option will take precedence and If you also use the --speed-limit option, that option will take precedence and
might cripple the rate-limiting slightly, to help keeping the speed-limit might cripple the rate-limiting slightly, to help keeping the speed-limit
logic working. logic working.