Skip to content

Set don't fragment option on IP sockets for QUIC - #152

Merged
josephnoir merged 1 commit into
mainfrom
dont-fragment
Oct 22, 2026
Merged

josephnoir merged 1 commit into
mainfrom
dont-fragment

Conversation

@josephnoir

Copy link
Copy Markdown
Collaborator

Motivation

RFC 9000, Section 14 prohibits fragmentation of UDP datagrams at the IP layer.

Modifications

Use new helper function from swift-nio-quic to set the required socket options (Linux, Darwin) on the sockets for H/3 running over QUIC, if the address is either v4 or v6.

Results

Less fragmentation.

Motivation:

RFC 9000, Section 14 prohibits fragmentation of UDP datagrams at the IP
layer.

Modifications:

Use new helper function from swift-nio-quic to set the required socket
options (Linux, Darwin) on the sockets for H/3 running over QUIC, if
the address is either v4 or v6.

Results:

Less fragmentation.
@josephnoir josephnoir added the 🔨 semver/patch No public API change. label Oct 21, 2026
@josephnoir
josephnoir merged commit b9a65b9 into main Oct 22, 2026
27 checks passed
@josephnoir
josephnoir deleted the dont-fragment branch October 22, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants