Author: toad
Date: 2007-07-04 23:47:36 +0000 (Wed, 04 Jul 2007)
New Revision: 13940

Modified:
   trunk/freenet/src/freenet/io/comm/MessageFilter.java
Log:
Record which connection was dropped!

Modified: trunk/freenet/src/freenet/io/comm/MessageFilter.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/MessageFilter.java        2007-07-04 
23:37:24 UTC (rev 13939)
+++ trunk/freenet/src/freenet/io/comm/MessageFilter.java        2007-07-04 
23:47:36 UTC (rev 13940)
@@ -251,6 +251,7 @@
      * @param ctx
      */
     public synchronized void onDroppedConnection(PeerContext ctx) {
+       _droppedConnection = ctx;
                notifyAll();
     }
 
@@ -260,6 +261,7 @@
      * @param ctx
      */
     public synchronized void onRestartedConnection(PeerContext ctx) {
+       _droppedConnection = ctx;
                notifyAll();
     }
 

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to