More conservative default MTU, and react to MSGSIZE

This commit is contained in:
Keith Winstein
2012-10-16 17:46:05 -04:00
parent be3b1259b6
commit 39276a46ad
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ namespace Network {
class Connection {
private:
static const int SEND_MTU = 1400;
static const int DEFAULT_SEND_MTU = 1300;
static const uint64_t MIN_RTO = 50; /* ms */
static const uint64_t MAX_RTO = 1000; /* ms */