http-v3.13.5
actix/actix-webhttp-v3.13.5Sep 2, 2026by robjtede
AI Summary
Enhances WebSocket protocol handling by validating close frames and deprecating an internal parsing method.
Key Highlights
- Reject invalid WebSocket close-frame status codes and malformed payloads
- Gracefully reject more malformed WebSocket frames
- Deprecate `Parser::parse_close_payload()` in favor of `Parser::try_parse_close_payload()`
Breaking Changes
- Deprecation of `Parser::parse_close_payload()` method
Full Release Notes
- Reject invalid WebSocket close-frame status codes, malformed payloads, and invalid UTF-8 close reasons. - Deprecate the `Parser::parse_close_payload()` method in favor of `Parser::try_parse_close_payload()`.