[vlc-devel] [PATCH] Fix infinite loop in the telnet interface
jpountz at videolan.org
Wed Feb 25 05:20:23 CET 2009
When I close the telnet session client-side (by killing the telnet
process for example), VLC (0.9.x and 1.0.0-git) goes into an infinite
loop. It seems to be because recv() instantly returns 0 and errno is set
to EAGAIN, which is not handled by the if clause which tries to detect
the telnet client connections to drop.
The attached patch if a fix proposal for this issue.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 831 bytes
Desc: not available
More information about the vlc-devel