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

remove gobwas/ws handshake extensions race condition workaround #2793

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

magicxyyz
Copy link
Contributor

@magicxyyz magicxyyz commented Nov 18, 2024

Resolves NIT-1324

This PR re-adds to broadcast client the check if compression extension was negotiated with broadcast server.

Previously, the check wasn't possible due to race condition in gobwas library: gobwas/ws#157
The data race was resolved with: gobwas/ws#158
and later included in v.1.2.0 gobwas/ws release (https://github.com/gobwas/ws/releases/tag/v1.2.0) and we are already on v.1.2.1.

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Nov 18, 2024
Copy link
Member

@Tristan-Wilson Tristan-Wilson left a comment

Choose a reason for hiding this comment

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

LGTM

@joshuacolvin0 joshuacolvin0 merged commit 438a992 into master Nov 19, 2024
15 checks passed
@joshuacolvin0 joshuacolvin0 deleted the feed-handshake branch November 19, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design-approved s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants