1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-29 02:35:23 +00:00

update mtu in quic

This commit is contained in:
Darien Raymond 2018-11-21 10:59:37 +01:00
parent b2cbc369ac
commit 649f4da92a
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -65,7 +65,7 @@ type ApplicationErrorCode uint16
// ethernet's max size, minus the IP and UDP headers. IPv6 has a 40 byte header,
// UDP adds an additional 8 bytes. This is a total overhead of 48 bytes.
// Ethernet's max packet size is 1500 bytes, 1500 - 48 = 1452.
const MaxReceivePacketSize ByteCount = 1452
const MaxReceivePacketSize ByteCount = 1452 - 32
// DefaultTCPMSS is the default maximum packet size used in the Linux TCP implementation.
// Used in QUIC for congestion window computations in bytes.