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

ensure messageCounter is set before handshake is complete #1154

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

wadey
Copy link
Member

@wadey wadey commented Jun 3, 2024

Ensure we set messageCounter to 2 before the handshake is marked as complete.

Ensure we set messageCounter to 2 before the handshake is marked as
complete.
@wadey wadey added the bug Something isn't working label Jun 3, 2024
@wadey wadey added this to the v1.9.2 milestone Jun 3, 2024
@wadey wadey merged commit d9cae9e into master Jun 3, 2024
9 checks passed
@wadey wadey deleted the ensure-messagecounter branch June 3, 2024 19:40
wadey added a commit that referenced this pull request Jun 4, 2024
Clean up the messageCounter checks added in #1154. Instead of checking that
messageCounter is still at 2, just initialize it to 2 and only increment for
non-handshake messages. Handshake packets will always be packets 1 and 2.
wadey added a commit that referenced this pull request Jun 6, 2024
Clean up the messageCounter checks added in #1154. Instead of checking that
messageCounter is still at 2, just initialize it to 2 and only increment for
non-handshake messages. Handshake packets will always be packets 1 and 2.
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