Commit 142c1b06 authored by Karl Heyes's avatar Karl Heyes

don't terminate stream when debugging

svn path=/trunk/icecast/; revision=5127
parent aa5a096f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment