[MPlayer-dev-eng] http to https redirects (was: offer to include gopher protocol support)
Alexander Strasser
eclipse7 at gmx.net
Sun Feb 2 10:21:40 EET 2020
Hi Lauri!
On 2020-01-25 11:20 +0200, Lauri Kasanen wrote:
> On Sat, 25 Jan 2020 00:53:07 +0100
> Alexander Strasser <eclipse7 at gmx.net> wrote:
>
> > In addition or instead of the patch below, the patch *attached* to this
> > mail solves the http -> https redirect failure too. In contrast to
> > the previous solution, this directly hands over the new URL without
> > failing in the stream http module.
> >
> > If we decide to also commit the previous patch (the one quoted below),
> > that would have the advantage, that stream_ffmpeg would try to open a
> > http URL that has failed with the previous stream modules. Not sure how
> > often that will be the case and actually work in stream_ffmpeg, but it
> > might be worth a try.
> >
> > Testing, comments and opinions on whether to include either or both
> > patches welcome.
>
> Thanks for looking at this. The URLs where I hit this weren't in any
> way protected, so either patch works for me. A protected setup might
> check cookies, referrer, etc before letting a client through.
>
> Can't build mplayer now, but both patches look ok.
Committed both as SVN r38169 and r38170 .
Please speak up, should you see it doesn't work as expected. My tests
here were all fine.
Thanks for your feedback.
Alexander
More information about the MPlayer-dev-eng
mailing list