Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usingcurl/transfers/rate-limiting.md: clarify the algo #345

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions usingcurl/transfers/rate-limiting.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ To make curl not download data any faster than 200 kilobytes per second:

curl https://example.com/ --limit-rate 200K

The given limit is the maximum *average speed* allowed, counted during the
entire transfer. It means that curl might use higher transfer speeds in short
bursts, but over time it uses no more than the given rate.
The given limit is the maximum *average speed* allowed during a period of
several seconds. It means that curl might use higher transfer speeds in short
bursts, but over time it averages to no more than the given rate.

Also note that curl never knows what the maximum possible speed isit will
simply go as fast as it can and is allowed. You may know your connection's
maximum speed, but curl does not.
curl does not know what the maximum possible speed isit will simply go as
fast as it can and is allowed. You might know your connection's maximum speed,
curl does not.
Loading