ladybird/Libraries/LibWebSocket
Shannon Booth e7525bf3df LibWebSocket: Fix close frame status code written in wrong byte order
The close status code was written using (u8*)&code which produces
platform byte order (little-endian on x86/ARM). This caused echo
servers to receive invalid close codes and respond with 1011
(UnexpectedCondition).

Fixes for example WPT:

https://wpt.live/websockets/Close-1000-verify-code.any.html?wss
2026-03-13 17:28:06 +01:00
..
Impl LibTLS: Remove blocking option and simplify Options struct 2025-06-23 17:49:21 +02:00
CMakeLists.txt LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP 2025-11-27 14:57:29 +01:00
ConnectionInfo.cpp LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP 2025-11-27 14:57:29 +01:00
ConnectionInfo.h LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP 2025-11-27 14:57:29 +01:00
Message.h LibWebSocket: Remove meaningless const&& Message constructor 2025-03-09 11:14:20 -04:00
WebSocket.cpp LibWebSocket: Fix close frame status code written in wrong byte order 2026-03-13 17:28:06 +01:00
WebSocket.h LibWebSocket: Add enum definition for status 1005 "no status received" 2026-03-13 17:28:06 +01:00