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

feat(s2n-quic-dc): mtu probing event subscriber #2374

Merged
merged 5 commits into from
Nov 9, 2024

Conversation

WesleyRosenblum
Copy link
Contributor

Description of changes:

This change adds an MtuConfirmComplete event subscriber to allow for post handshake probing to complete a dc environment. The client and server should wait for MtuConfirmComplete to be ready before closing the connection.

Call-outs:

This event subscriber only waits for the local endpoint's MTU probing to be completed. This means that if the connection is closed immediately after MtuConfirmComplete is ready, it is possible the other side of the connection may have not completed probing yet. To address this, we may add a new dc frame to indicate probing has completed, but for now the recommendation is to wait for a period of time after MtuConfirmComplete is ready before closing.

Testing:

Added the event subscriber to the dc integration tests.

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

@WesleyRosenblum WesleyRosenblum merged commit cb41b35 into main Nov 9, 2024
130 checks passed
@WesleyRosenblum WesleyRosenblum deleted the WesleyRosenblum/mtuconfirm branch November 9, 2024 01:55
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.

2 participants