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

Correct the MSS option size check #22

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

FelixSchladt
Copy link
Contributor

The length parameter in option counts the total length, not just the length of the data.
https://www.rfc-editor.org/rfc/rfc9293.html#section-3.2-10

This fixed the issues we encountered.

@danielinux danielinux self-assigned this Feb 19, 2024
@danielinux danielinux added the bug Something isn't working label Feb 19, 2024
Copy link
Member

@danielinux danielinux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely spotted, thanks @FelixSchladt !

@danielinux danielinux merged commit 123cfe3 into virtualsquare:master Feb 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants