Bring this maximum back down. I had thought that oversized
datagrams were fragmented and reassembled at the network layer, but apparently that's not something one can count on. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5770 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -60,7 +60,7 @@ public class Client
|
|||||||
public static final int[] DEFAULT_DATAGRAM_PORTS = { };
|
public static final int[] DEFAULT_DATAGRAM_PORTS = { };
|
||||||
|
|
||||||
/** The maximum size of a datagram. */
|
/** The maximum size of a datagram. */
|
||||||
public static final int MAX_DATAGRAM_SIZE = 8192;
|
public static final int MAX_DATAGRAM_SIZE = 1450;
|
||||||
|
|
||||||
/** Our default maximum outgoing message rate in messages per second. */
|
/** Our default maximum outgoing message rate in messages per second. */
|
||||||
public static final int DEFAULT_MSGS_PER_SECOND = 10;
|
public static final int DEFAULT_MSGS_PER_SECOND = 10;
|
||||||
|
|||||||
Reference in New Issue
Block a user