Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(s2n-quic-platform): don't reduce rx MTU when tx MTU is reduced #2156

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

WesleyRosenblum
Copy link
Contributor

Resolved issues:

resolves #2155

Description of changes:

Previously, when the syscall to configure MTU discovery failed, we would reduce the MTU used for both transmitting and receiving packets to the minimum MTU. This can prevent receiving packets from peers that are using a larger MTU. This change will only reduce the MTU for transmitting packets, leaving the rx MTU at the originally configured value.

Testing:

Tested locally on MacOS, where the configure_mtu_disc syscall fails.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@WesleyRosenblum WesleyRosenblum enabled auto-merge (squash) March 19, 2024 17:29
@WesleyRosenblum WesleyRosenblum merged commit ac7bf90 into main Mar 19, 2024
121 checks passed
@WesleyRosenblum WesleyRosenblum deleted the WesleyRosenblum/rxmtu branch March 19, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

configure_mtu_disc should not reduce rx MTU size
2 participants