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

websocket: Support clients that do not specify subprotocol #2621

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

p12tic
Copy link
Contributor

@p12tic p12tic commented Jan 16, 2025

According to RFC6455 section 4.1 Sec-WebSocket-Protocol is optional both on client and server side.

This makes the API easier to use. This is not performance sensitive code
path, thus an additional allocation is acceptable.
According to RFC6455 section 4.1 Sec-WebSocket-Protocol is optional both
on client and server side.
@p12tic p12tic changed the title Support non-specified subprotocol on WebSocket server websocket: Support clients that do not specify subprotocol Jan 16, 2025
@xemul xemul merged commit e9c9cc3 into scylladb:master Jan 17, 2025
15 checks passed
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