[vlc-devel] mjpeg demux and infinite wait.
Rémi Denis-Courmont
rem at videolan.org
Mon Jan 19 17:52:45 CET 2009
Le lundi 19 janvier 2009 18:34:59 Sébastien Escudier, vous avez écrit :
> In my case there is no "clean" socket shutdown. I can reproduce by
> unpluging my network cable. I expected vlc to close that stream after a
> while, but even after 10 minutes nothing happened.
That's not a (VLC) bug, that's a feature of your TCP stack. On Windows,
unplugging the cable will immediately trigger an ENETDOWN error; on Linux,
nothing happens. If you're not happy turn TCP keep-alives on system-wide and
set lower timeouts value via /proc.
--
Rémi Denis-Courmont
http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary
More information about the vlc-devel
mailing list