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: working around status code 429
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Thu, 1 Feb 2024 11:39:51 +0100 (CET)
On Thu, 1 Feb 2024, Dirk Hünniger via curl-users wrote:
> you are right. Its retrying after one second, and not doing the exponential
> fallback it usually does. Thats why it concluded after a few minutes. Thanks
> for the explanation that curl is following the servers proposal to try again
> after one second. Everything is explained this way. If you want, you can add
> a command line option to override the servers proposal. For me it is not
> needed because, I do the retrying in an external loop around the call to
> curl now.
I'm thinking it could perhaps be argued that curl should treat the Retry-After
time as a *minimum* time, so that if it already has backed off a bit by
itself, it would still use that longer time...
Date: Thu, 1 Feb 2024 11:39:51 +0100 (CET)
On Thu, 1 Feb 2024, Dirk Hünniger via curl-users wrote:
> you are right. Its retrying after one second, and not doing the exponential
> fallback it usually does. Thats why it concluded after a few minutes. Thanks
> for the explanation that curl is following the servers proposal to try again
> after one second. Everything is explained this way. If you want, you can add
> a command line option to override the servers proposal. For me it is not
> needed because, I do the retrying in an external loop around the call to
> curl now.
I'm thinking it could perhaps be argued that curl should treat the Retry-After
time as a *minimum* time, so that if it already has backed off a bit by
itself, it would still use that longer time...
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2024-02-01