Skip to content

Commit

Permalink
lower default MTU to 1392 to avoid stressing certain VPNs
Browse files Browse the repository at this point in the history
  • Loading branch information
lsalzman committed Apr 2, 2023
1 parent 8ae0e85 commit ea4607a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/enet/enet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit ea4607a

Please sign in to comment.