[Red5commits] [1467] handle initial connect calls

jbauch luke at codegent.com
Fri Oct 13 05:20:06 EDT 2006


handle initial connect calls


Timestamp: 10/13/06 04:00:31 EST (less than one hour ago) 
Change: 1467 
Author: jbauch

Files (see diff or trac for details): 
java/server/branches/joachim_heapmem_fixes/src/org/red5/server/net/rtmp/RTMPHandler.java


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

Index: /java/server/branches/joachim_heapmem_fixes/src/org/red5/server/net/rtmp/RTMPHandler.java
===================================================================
--- /java/server/branches/joachim_heapmem_fixes/src/org/red5/server/net/rtmp/RTMPHandler.java (revision 1466)
+++ /java/server/branches/joachim_heapmem_fixes/src/org/red5/server/net/rtmp/RTMPHandler.java (revision 1467)
@@ -105,5 +105,5 @@
 	public void messageReceived(RTMPConnection conn, ProtocolState state, Object in) throws Exception {
 		
-		if (!conn.isConnected()) {
+		if (conn.getScope() != null && !conn.isConnected()) {
 			log.warn("Received message " + in + " from disconnected connection " + conn);
 			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