Re: working around status code 429
Daniel Stenberg via curl-users <[email protected]>
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <[email protected]> |
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.html