Skip to main content

QUIC_INITIAL_MTU

Constant QUIC_INITIAL_MTU 

Source
const QUIC_INITIAL_MTU: u16 = 1200;
Expand description

QUIC’s guaranteed-deliverable UDP payload size, in bytes, and the floor that quinn::TransportConfig::initial_mtu and min_mtu silently raise any smaller value to.

Defined here rather than imported because quinn keeps its INITIAL_MTU private. The number is fixed by QUIC itself — the handshake establishes that the path carries an unfragmented 1200-byte datagram body, so nothing below it is a meaningful path MTU and quinn refuses to hold one.