1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-01-03 14:56:34 -05:00

don't terminate stream when debugging

svn path=/trunk/icecast/; revision=5127
This commit is contained in:
Karl Heyes 2003-07-11 19:03:30 +00:00
parent aa5a096f8a
commit 142c1b0609

View File

@ -355,6 +355,8 @@ void *source_main(void *arg)
while (bytes <= 0) {
ret = util_timed_wait_for_fd(source->con->sock, timeout*1000);
if (ret < 0 && sock_recoverable (sock_error()))
continue;
if (ret <= 0) { /* timeout expired */
WARN1("Disconnecting source: socket timeout (%d s) expired",
timeout);