[FFmpeg-devel] [PATCH] http: support retry on connection error

Eran Kornblau eran.kornblau at kaltura.com
Sun Oct 25 15:40:06 EET 2020


Hi,

This patch adds 2 options to http:
- reconnect_on_status - a list of http status codes that should be retried. the list can contain explicit status codes or the strings 4xx/5xx.
- reconnect_on_err - 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

Thanks!

Eran
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-http-support-retry-on-connection-error.patch
Type: application/octet-stream
Size: 4773 bytes
Desc: 0001-http-support-retry-on-connection-error.patch
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201025/af02b7f1/attachment.obj>


More information about the ffmpeg-devel mailing list