curl: add --rate to set max request rate per time unit

--rate "12/m" - for 12 per minute or
--rate "5/h" - for 5 per hour

Removed from TODO

Closes #8671
This commit is contained in:
Daniel Stenberg 2022-05-23 17:59:56 +02:00
parent 64641d2170
commit 8f48b5d783
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
8 changed files with 103 additions and 15 deletions

View file

@ -559,6 +559,9 @@ const struct helptxt helptext[] = {
{"-r, --range <range>",
"Retrieve only the bytes within RANGE",
CURLHELP_HTTP | CURLHELP_FTP | CURLHELP_SFTP | CURLHELP_FILE},
{" --rate <max request rate>",
"Request rate for serial transfers",
CURLHELP_CONNECTION},
{" --raw",
"Do HTTP \"raw\"; no transfer decoding",
CURLHELP_HTTP},