[MPlayer-dev-eng] http to https redirects (was: offer to include gopher protocol support)

Lauri Kasanen cand at gmx.com
Sat Jan 25 11:20:43 EET 2020


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.

- Lauri


More information about the MPlayer-dev-eng mailing list