Author: toad
Date: 2007-06-30 14:05:32 +0000 (Sat, 30 Jun 2007)
New Revision: 13848

Modified:
   trunk/freenet/src/freenet/node/DarknetPeerNode.java
Log:
Fix handshake backoff times (was breaking connectivity between trunk nodes and 
trunk nodes)

Modified: trunk/freenet/src/freenet/node/DarknetPeerNode.java
===================================================================
--- trunk/freenet/src/freenet/node/DarknetPeerNode.java 2007-06-30 13:59:55 UTC 
(rev 13847)
+++ trunk/freenet/src/freenet/node/DarknetPeerNode.java 2007-06-30 14:05:32 UTC 
(rev 13848)
@@ -1474,6 +1474,8 @@
                                        + 
node.random.nextInt(Node.RANDOMIZED_TIME_BETWEEN_HANDSHAKE_SENDS);
                        }
                        if(logMINOR) Logger.minor(this, "Next BurstOnly mode 
handshake in "+(sendHandshakeTime - now)+"ms for "+getName()+" (count: 
"+listeningHandshakeBurstCount+", size: "+listeningHandshakeBurstSize+ ')', new 
Exception("double-called debug"));
+               } else {
+                       super.innerCalcNextHandshake(successfulHandshakeSend, 
dontFetchARK, now);
                }
                return fetchARKFlag;
        }


Reply via email to