[Red5commits] [1784] fixed potential endless loop

jbauch luke at codegent.com
Sun Mar 25 16:40:07 EST 2007


fixed potential endless loop


Timestamp: 03/25/07 16:37:49 EST (less than one hour ago) 
Change: 1784 
Author: jbauch

Files (see diff or trac for details): 
java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java


Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/1784

Index: /java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java
===================================================================
--- /java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java (revision 1783)
+++ /java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java (revision 1784)
@@ -1023,4 +1023,11 @@
 						}
 					}
+					
+					try {
+						msg = msgIn.pullMessage();
+					} catch (Throwable err) {
+						log.error("Error while pulling message.", err);
+						msg = null;
+					}
 				}
 			} else {


Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.



More information about the Red5commits mailing list