Currently (3f908a), quinn uses const MIN_MTU: u16 = 1232;.
Maybe I am missing something, but looking at it, it seems this value is used more as "datagram size".
Indeed, running the quinn server example (over IPv4):
cargo run --example client https:/server:1234/README.md
[...]
Jul 06 02:59:45.746 TRACE drive{id=0}: quinn_proto::connection: sending 1232 bytes in 1 datagrams
[...]
The server sends a UDP datagram payload with 1232 bytes.
From my understanding, (quic-draft-32 #14) the maximum UDP datagram payload should be set at 1200 bytes (unless afterwards increased by PMTUD).
Is there any requirement for this design choice?
Currently (
3f908a), quinn usesconst MIN_MTU: u16 = 1232;.Maybe I am missing something, but looking at it, it seems this value is used more as "datagram size".
Indeed, running the quinn server example (over IPv4):
The server sends a UDP datagram payload with 1232 bytes.
From my understanding, (quic-draft-32 #14) the maximum UDP datagram payload should be set at
1200bytes (unless afterwards increased by PMTUD).Is there any requirement for this design choice?