[vlc-devel] [PATCH 2/2] chromecast: don't close the client connection
linkfanel at yahoo.fr
Thu Oct 29 18:02:24 CET 2020
> I don't know the other exotic systems (OS/2?) but it seems to be a
> general case where keepalive is portable and unpriviledged but the
> user timeout a bit more specific and tedious. Since we also emulate
> the timeout in the httpd server, it could be one solution to tackle
> this kind of limitation, though when exactly we would want to enable
> this is quite unclear to me right now.
Logically, you'd want to add it to the patch: if you're aiming for
compatibility with the Chromecast client, at the same time that you're
raising/removing the HTTPd inactivity timeout on new clients, you should
also check and attempt to set the TCP timeout on their socket to ensure
it has a sufficiently high value; otherwise you risk still hitting the
TCP timeout, and only having a partial fix for the best cases.
Apparently there are 4 separate tickets open for this issue, and it
seems to predate the current regression.
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
More information about the vlc-devel