Re: [FFmpeg-devel] [PATCH 4/6] avformat/http: Add support for Retry-After header

2024-04-15 Thread Derek Buitenhuis
On 4/15/2024 5:35 PM, James Almer wrote: > Why strtoull for an int? If the value can't be negative, then make it > unsigned and use strtoul instead. Done, v2 sent. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/

Re: [FFmpeg-devel] [PATCH 4/6] avformat/http: Add support for Retry-After header

2024-04-15 Thread James Almer
On 4/15/2024 1:27 PM, Derek Buitenhuis wrote: 429 and 503 codes can, and often do (e.g. all Google Cloud Storage URLs can), return a Retry-After header with the error, indicating how long to wait, in seconds, before retrying again. If it is not respected by, for example, using our default backoff

[FFmpeg-devel] [PATCH 4/6] avformat/http: Add support for Retry-After header

2024-04-15 Thread Derek Buitenhuis
429 and 503 codes can, and often do (e.g. all Google Cloud Storage URLs can), return a Retry-After header with the error, indicating how long to wait, in seconds, before retrying again. If it is not respected by, for example, using our default backoff stratetgy instead, chances of success are very