From ea4607a90dbfbcf4da2669ea998585253d8e70b1 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 2 Apr 2023 16:48:09 -0400 Subject: [PATCH] lower default MTU to 1392 to avoid stressing certain VPNs --- include/enet/enet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/enet/enet.h b/include/enet/enet.h index be59c10..4a20704 100644 --- a/include/enet/enet.h +++ b/include/enet/enet.h @@ -213,7 +213,7 @@ enum ENET_HOST_RECEIVE_BUFFER_SIZE = 256 * 1024, ENET_HOST_SEND_BUFFER_SIZE = 256 * 1024, ENET_HOST_BANDWIDTH_THROTTLE_INTERVAL = 1000, - ENET_HOST_DEFAULT_MTU = 1400, + ENET_HOST_DEFAULT_MTU = 1392, ENET_HOST_DEFAULT_MAXIMUM_PACKET_SIZE = 32 * 1024 * 1024, ENET_HOST_DEFAULT_MAXIMUM_WAITING_DATA = 32 * 1024 * 1024,