[Red5commits] [1908] don't try to ping disconnected clients

jbauch luke at codegent.com
Fri Apr 20 11:00:44 EDT 2007


don't try to ping disconnected clients


Timestamp: 04/20/07 09:58:18 EST (less than one hour ago) 
Change: 1908 
Author: jbauch

Files (see diff or trac for details): 
java/server/trunk/src/org/red5/server/net/rtmp/RTMPConnection.java


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

Index: /java/server/trunk/src/org/red5/server/net/rtmp/RTMPConnection.java
===================================================================
--- /java/server/trunk/src/org/red5/server/net/rtmp/RTMPConnection.java (revision 1896)
+++ /java/server/trunk/src/org/red5/server/net/rtmp/RTMPConnection.java (revision 1908)
@@ -917,4 +917,5 @@
     			log.warn("Closing " + RTMPConnection.this + " due to too much inactivity (" + (lastPingSent - lastPongReceived) + ").");
 				onInactive();
+				return;
 			}
         	


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