Author: nextgens
Date: 2008-07-19 08:42:25 +0000 (Sat, 19 Jul 2008)
New Revision: 21229
Modified:
trunk/freenet/src/freenet/io/comm/UdpSocketHandler.java
Log:
reduce MAX_RECEIVE_SIZE to 1500
Modified: trunk/freenet/src/freenet/io/comm/UdpSocketHandler.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/UdpSocketHandler.java 2008-07-19
07:28:30 UTC (rev 21228)
+++ trunk/freenet/src/freenet/io/comm/UdpSocketHandler.java 2008-07-19
08:42:25 UTC (rev 21229)
@@ -195,9 +195,7 @@
} else if(logDEBUG) Logger.minor(this, "No packet received");
}
- // FIXME necessary to deal with bugs around build 1000; arguably necessary
to deal with large node names in connection setup
- // Revert to 1500?
- private static final int MAX_RECEIVE_SIZE = 2048;
+ private static final int MAX_RECEIVE_SIZE = 1500;
private boolean getPacket(DatagramPacket packet) {
try {