Skip to content

Min MTU #1154

Description

@BiagioFesta

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):

  • Client Invocation:
cargo run --example client https:/server:1234/README.md
  • Server log:
[...]
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions