Skip to content

Expect the opcode in the oversized control frame error - #5

Merged
thomasjm merged 1 commit into
masterfrom
fix-control-frame-test
Dec 3, 2026
Merged

thomasjm merged 1 commit into
masterfrom
fix-control-frame-test

Conversation

@thomasjm

@thomasjm thomasjm commented Dec 3, 2026

Copy link
Copy Markdown

The RFC 6455 §5.5 test, that a control frame with more than 125 bytes of payload fails to parse, compares the error message exactly. 47460a1 added the opcode to that message, so the parser still rejects the frame but the test has failed on every platform since. It now expects the opcode, 9 for the ping it sends.

@thomasjm
thomasjm merged commit c63e401 into master Dec 3, 2026
4 of 14 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.

1 participant