Re: working around status code 429

Ray Satiro via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
On 2/1/2024 4:17 AM, 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. 


We've fixed the issue by ignoring Retry-After time when it is shorter 
than curl's retry time. [1]


[1]: https://github.com/curl/curl/commit/924e264b

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.