From 649f4da92a6d5acd88716053d43edd4ae861997e Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 21 Nov 2018 10:59:37 +0100 Subject: [PATCH] update mtu in quic --- .../lucas-clemente/quic-go/internal/protocol/protocol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/protocol/protocol.go b/vendor/github.com/lucas-clemente/quic-go/internal/protocol/protocol.go index 2a52f8952..5019f2eb1 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/protocol/protocol.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/protocol/protocol.go @@ -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.