[vlc-devel] [PATCH 2/2] chromecast: don't close the client connection

Rémi Denis-Courmont remi at remlab.net
Wed Oct 28 16:09:22 CET 2020


Le keskiviikkona 28. lokakuuta 2020, 16.45.21 EET Thomas Guillem a écrit :
> > Chromecast created its own http server a non default port. I don't see
> > the point with the HTTP interface
> 
> fixing comment typo:
> Chromecast creates its own http server on a non default port.

Yeah so what it does is mess with the variables to implicitly create a 
separate host. Which will work in the simple case, fail if there are more than 
one doing the same trick with the same port.

That does not really change the fact that URL callbacks are not supposed to 
block though. AFAICT, that is where the bug is, it's been there since 
switching from HTTPd stream to HTTPd callbacks, and it completely wrecks the 
logic of the poll loop.

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list