aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/dirac_dwt_init.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2024-04-22 15:25:42 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2024-04-25 15:21:25 +0100
commit2d5fa816fb94563de6ee8585430dcc9bfa4455da (patch)
tree05d2e45af794a58683f2ee1db1b4184852d588fc /libavcodec/x86/dirac_dwt_init.c
parent6d89fd4c27b2c907acaf44f923e624a24643a2ba (diff)
downloadffmpeg-2d5fa816fb94563de6ee8585430dcc9bfa4455da.tar.gz
avformat/http: Add support for Retry-After header
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, asd either a date, or in seconds, before retrying again. If it is not respected by, for example, using our default backoff stratetgy instead, chances of success are very unlikely. Some references: * https://datatracker.ietf.org/doc/html/rfc6585 * https://datatracker.ietf.org/doc/html/rfc7231#section-7.1.3 This adds an AVOption to respect that header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/x86/dirac_dwt_init.c')
0 files changed, 0 insertions, 0 deletions