http: make caching of redirect url optional
authorerankor <eran.kornblau@kaltura.com>
Mon, 27 Dec 2021 09:20:24 +0000 (11:20 +0200)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 31 Dec 2021 19:27:00 +0000 (14:27 -0500)
commit6348be83e8d16671dde07d299a6d6e973f94d3e2
tree3a528699ded48f9d6bdb1282fb10b4c8d760ff02
parent2f6360ff21a98f9db6af3e0932d39f1dc7b47d6c
http: make caching of redirect url optional

added "cache_redirect" option to http.
when enabled, requests issued after seek will use the latest redirected
url.
when disabled, each call to seek will revert to the original url that
was sent to http_open.

currently, the default remains 'enabled', until the next major
libavformat bump, where it will change to 'disabled'.
libavformat/http.c
libavformat/version.h