Author: toad
Date: 2008-12-12 16:22:58 +0000 (Fri, 12 Dec 2008)
New Revision: 24270

Modified:
   trunk/freenet/src/freenet/node/PeerNode.java
Log:
Logging, comments


Modified: trunk/freenet/src/freenet/node/PeerNode.java
===================================================================
--- trunk/freenet/src/freenet/node/PeerNode.java        2008-12-12 16:16:56 UTC 
(rev 24269)
+++ trunk/freenet/src/freenet/node/PeerNode.java        2008-12-12 16:22:58 UTC 
(rev 24270)
@@ -1951,6 +1951,11 @@
                                if(logMINOR) Logger.minor(this, "Creating new 
tracker (last resort) on "+this);
                        }
                        if(bootIDChanged || notReusingTracker) {
+                               if((!bootIDChanged) && notReusingTracker)
+                                       // FIXME is this a real problem? 
Clearly the other side has changed trackers for some reason...
+                                       // Normally that shouldn't happen 
except when a connection times out ... it is probably possible
+                                       // for that to timeout on one side and 
not the other ...
+                                       Logger.error(this, "Not reusing 
tracker, so wiping old trackers for "+this);
                                oldPrev = previousTracker;
                                oldCur = currentTracker;
                                previousTracker = null;

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

Reply via email to