[xiph-cvs] cvs commit: icecast/src source.c
Karl Heyes
karl at xiph.org
Fri Jul 11 12:03:30 PDT 2003
karl 03/07/11 15:03:30
Modified: src source.c
Log:
don't terminate stream when debugging
Revision Changes Path
1.56 +2 -0 icecast/src/source.c
Index: source.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/source.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- source.c 8 Jul 2003 14:11:32 -0000 1.55
+++ source.c 11 Jul 2003 19:03:30 -0000 1.56
@@ -355,6 +355,8 @@
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);
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list