Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: curl: add --rate to set max request rate per time unit
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Paul Gilmartin via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 4 Apr 2022 07:19:15 -0600
On Apr 4, 2022, at 06:42:09, Daniel Stenberg wrote:
>
> I took a stab at a first implementation of a TODO item from 2019.
> When curl is told to do more than one (serial) transfer, we can give it max frequency in transfers per time unit. Example:
>
Yes. I have not used curl with multiple URLs (at first I didn't k now it
was possible) but in a "for". For one site I need a delay of (empirically)
0.3 seconds.
> curl --rate 15/s $URL[a-z] -O
>
I might prefer to simplify to:
curl --delay 0.07 $URL[a-z] -O # Always in seconds
This might allow such as "--delay 86400".
Date: Mon, 4 Apr 2022 07:19:15 -0600
On Apr 4, 2022, at 06:42:09, Daniel Stenberg wrote:
>
> I took a stab at a first implementation of a TODO item from 2019.
> When curl is told to do more than one (serial) transfer, we can give it max frequency in transfers per time unit. Example:
>
Yes. I have not used curl with multiple URLs (at first I didn't k now it
was possible) but in a "for". For one site I need a delay of (empirically)
0.3 seconds.
> curl --rate 15/s $URL[a-z] -O
>
I might prefer to simplify to:
curl --delay 0.07 $URL[a-z] -O # Always in seconds
This might allow such as "--delay 86400".
-- gil -- Unsubscribe: https://lists.haxx.se/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-04-04