Re: [PATCH] http: Fix HLS playback on some servers

Rémi Denis-Courmont <[email protected]> Wed, 10 Jan 2024 18:28:38 +0200
Newsgroups gmane.comp.video.videolan.vlc.devel
Organization Remlab
Message-ID <[email protected]>
Le tiistaina 9. tammikuuta 2024, 10.54.55 EET John Cox a écrit :
> Hi
> 
> >Le 8 janvier 2024 20:42:00 GMT+02:00, John Cox <[email protected]> a écrit :
> >>https://github.com/RPi-Distro/vlc/issues/101
> >>
> >>The issue is that the server doesn't like the port number on the end of
> >>the Host line. This is a server fault, but it is legitimate to omit the
> >>port number if it is the default so remove it if that is the case.
> >
> >The intended behaviour is to include a port number in the authority if (and
> >only if) there is a port number in, well, the authority part of the URL.
> >
> >We can't systematically remove it. Postel's law and all.
> 
> OK - thats a fair point (though a quick reading of the syntax of the
> Host: line suggests it should be OK). In that case with the issue I have
> here where VLC appears to have invented a :443 and added it to the
> hostname the user asked for I guess I have to prevent it doing that
> instead?

Again, the intent is to include the port number in the Host line if and only 
if it is included in the URL. From a quick test, VLC 3.0.20 is working as 
intended.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel