1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-14 22:22:59 +02:00
FFmpeg/libavformat
erankor fde5593c7c avformat/http: support retry on connection error
Add 2 new options:
- reconnect_on_http_error - a list of http status codes that should be
    retried. the list can contain explicit status codes / the strings
    4xx/5xx.
- reconnect_on_network_error - reconnects on arbitrary errors during
    connect, e.g. ECONNRESET/ETIMEDOUT

the retry employs the same exponential backoff logic as the existing
reconnect/reconnect_at_eof flags.

related tickets:
https://trac.ffmpeg.org/ticket/6066
https://trac.ffmpeg.org/ticket/7768

Signed-off-by: Marton Balint <cus@passwd.hu>
2021-01-03 16:47:29 +01:00
..
2020-11-09 14:58:38 +10:00
2020-11-11 17:05:24 +01:00
2020-12-24 15:25:00 +01:00
2020-11-04 23:30:53 +01:00
2020-12-12 00:13:58 +01:00
2020-12-21 01:27:33 -05:00
2020-11-22 17:45:17 +01:00
2021-01-01 15:25:48 +01:00
2020-12-09 21:41:15 +01:00
2020-12-05 00:08:33 +01:00