Skip to content

fix: harden WebSocket handling - #912

Merged
ryanfowler merged 2 commits into
mainfrom
fix/websocket-hardening
Aug 1, 2026
Merged

fix: harden WebSocket handling#912
ryanfowler merged 2 commits into
mainfrom
fix/websocket-hardening

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • sanitize terminal-bound WebSocket and HTTP output and redact sensitive handshake headers
  • bound interactive history, input, buffering, and redraw work while honoring message modes
  • complete close handshakes, report abnormal closures, and preserve timeout/proxy semantics
  • reject unsupported WebSocket flags and document the historical audit and resulting behavior

Validation

  • cargo fmt --check
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --locked --all-features --lib --bins (885 passed)
  • full integration suite with --test-threads=2 (153 passed)

Sanitize terminal output, bound interactive resources, honor message and proxy settings, and complete close handshakes. Add regression coverage and document the historical audit.
@ryanfowler
ryanfowler merged commit 5493ce4 into main Aug 1, 2026
4 checks passed
@ryanfowler
ryanfowler deleted the fix/websocket-hardening branch August 1, 2026 00:08
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