Skip to content

[codex] consume HTTP upgrade WebSocket frames in parity fixture#4251

Merged
proggeramlug merged 1 commit into
PerryTS:mainfrom
andrewtdiz:codex/node-http-upgrade-websocket-tail
Jun 3, 2026
Merged

[codex] consume HTTP upgrade WebSocket frames in parity fixture#4251
proggeramlug merged 1 commit into
PerryTS:mainfrom
andrewtdiz:codex/node-http-upgrade-websocket-tail

Conversation

@andrewtdiz
Copy link
Copy Markdown
Contributor

Summary

  • Parse server WebSocket frames from the raw client receive buffer instead of repeatedly searching the whole buffer for the first text frame.
  • Consume non-text control frames so a Perry WebSocket close() frame does not cause the fixture to log the already-consumed echo frame twice.

Validation

  • CARGO_TARGET_DIR=/root/perry-worktrees/perry-node-http-upgrade-websocket-tail/target npm exec --yes --package=node@26 -- bash -lc 'node --version; ./run_parity_tests.sh --suite node-suite --module http --filter upgrade-websocket'\n- git diff --check HEAD~1..HEAD\n- ./scripts/check_file_size.sh

@proggeramlug proggeramlug marked this pull request as ready for review June 3, 2026 13:02
@proggeramlug proggeramlug merged commit c4aa82b into PerryTS:main Jun 3, 2026
11 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