reduce max DATAGRAM frame size, so that DATAGRAMs fit in IPv6 packets (#3581)

This commit is contained in:
Marten Seemann
2022-10-11 12:26:10 +03:00
committed by GitHub
parent 1f6a9ecafd
commit d03f9c2a4f

View File

@@ -134,7 +134,7 @@ const MaxAckFrameSize ByteCount = 1000
// MaxDatagramFrameSize is the maximum size of a DATAGRAM frame (RFC 9221).
// The size is chosen such that a DATAGRAM frame fits into a QUIC packet.
const MaxDatagramFrameSize ByteCount = 1220
const MaxDatagramFrameSize ByteCount = 1200
// DatagramRcvQueueLen is the length of the receive queue for DATAGRAM frames (RFC 9221)
const DatagramRcvQueueLen = 128