Re: [PATCH v2 3/3] http: automatically retry some requests
- From
Sean McAllister <smcallis@google.com>
- Date
- Oct 14, 2020, 19:10 UTC
- Message-ID
- <CAM4o00fO++JMNdES03JKRyxmZtiLjkrJ2nux0-TZYBdH2+0ijA@mail.gmail.com>
- In-Reply-To
- <CAM4o00eCKP1+f=xBw4LJfNqrstEnutAe9StxknW9qLMtPBdhKQ@mail.gmail.com>
On Wed, Oct 14, 2020 at 1:09 PM Sean McAllister <smcallis@google.com> wrote:
Show 9 quoted lines
> > On Tue, Oct 13, 2020 at 3:14 PM Jeff King <peff@peff.net> wrote: > > > > I do think you could be leveraging CURLINFO_RETRY_AFTER rather than > > implementing your own header parsing, though. > > > Ah I didn't know about CURLINFO_RETRY_AFTER, I'll look at that and use > it if I can. >
I took a look, it looks like CURLINFO_RETRY_AFTER was only added in 7.66 (September, 2019), so I don't think it's reasonable to rely on it for getting the Retry-After value in this case.