Author: toad
Date: 2008-04-01 17:43:55 +0000 (Tue, 01 Apr 2008)
New Revision: 18893

Modified:
   trunk/freenet/src/freenet/node/FNPPacketMangler.java
Log:
comments

Modified: trunk/freenet/src/freenet/node/FNPPacketMangler.java
===================================================================
--- trunk/freenet/src/freenet/node/FNPPacketMangler.java        2008-04-01 
17:43:18 UTC (rev 18892)
+++ trunk/freenet/src/freenet/node/FNPPacketMangler.java        2008-04-01 
17:43:55 UTC (rev 18893)
@@ -2375,6 +2375,8 @@
                        packetLength += 32;
                        paddedLen = ((packetLength + 63) / 64) * 64;
                        paddedLen += node.fastWeakRandom.nextInt(64);
+                       // FIXME get rid of this, we shouldn't be sending 
packets anywhere near this size unless
+                       // we've done PMTU...
                        if(packetLength <= 1280 && paddedLen > 1280) paddedLen 
= 1280;
                        int maxPacketSize = sock.getMaxPacketSize();
                        if(packetLength <= maxPacketSize && paddedLen > 
maxPacketSize) paddedLen = maxPacketSize;


Reply via email to