Repository navigation
fix: the WebSocket directives require a GET with version 13 and a valid key, as Pekko's server - #92
Merged
Merged
Conversation
…id key, as Pekko's server The directives took any request with Connection: upgrade and Upgrade: websocket as an upgrade. Pekko's server offers only a GET with a Sec-WebSocket-Version listing 13 and a padded base64 Sec-WebSocket-Key of 16 bytes to the routes; Ember upgraded a POST or a key of the wrong length, and refused a missing key or version only after the route had accepted the upgrade. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBTSjzt7V6GBL6i5bqnYea
… of Ember's 426 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBTSjzt7V6GBL6i5bqnYea
luksow
force-pushed
the
websocket-upgrade-checks
branch
from
October 18, 2026 19:28
659ed02 to
db2fb80
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The WebSocket directives took any request with
Connection: upgradeandUpgrade: websocketas an upgrade. As Pekko's server, they now also require aGET, aSec-WebSocket-Versionlisting 13 and a padded base64Sec-WebSocket-Keyof 16 bytes. Ember used to upgrade aPOSTor a key of the wrong length.Known remaining gap (documented): a version list such as
8, 13is an upgrade here, as in Pekko, but Ember's handshake refuses it.Part of the 0.7.1 stack (audit 2 minor items). Stacked: merge in order #1 → #10; each PR is based on the previous one, so none of them conflicts on
docs/migration.md. Every PR: test written first and seen failing, full local verify (Scala 3 + 2.13 tests, JS/Native compile, docs, MiMa against 0.7.0), independent review with its findings fixed.🤖 Generated with Claude Code
https://claude.ai/code/session_01HBTSjzt7V6GBL6i5bqnYea