[vlc-devel] [PATCH] httpd: update activity time before processing timeout (#25151)

Francois Cartegnie fcvlcdev at free.fr
Mon Sep 28 20:13:37 CEST 2020


Le 28/09/2020 à 19:57, Rémi Denis-Courmont a écrit :

> Leaving aside that it does not apply, it does not look it solves much 
> anything. AFAIU, it just means that the socket will (now) or won't (with the 
> patch) be expired if the inactivity time-out exactly inherently races with 
> client activity. It's totally arbitrary and pretty much irrelevant whether to 
> process expiration or refresh first.
> 
> If it seems to work around a bug, then probably one of the above supposedly 
> non-blocking client I/O functions is incorrectly blocking, and jamming the 
> whole server thread.

That's chromecast, there's a single connection.

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list