HF RL Explorer

The WebSocket server is vulnerable to memory exhaustion attacks when clients send large messages. Currently…

The WebSocket server is vulnerable to memory exhaustion attacks when clients send large messages. Currently…: a task in LegoFlow-SWE (Harbor dataset). We need to add a way to configure a maximum payload size for incoming WebSocket messages in Draft 6455 . When a client sends a message that exceeds…

The task

We need to add a way to configure a maximum payload size for incoming WebSocket messages in `Draft_6455`. When a client sends a message that exceeds the configured limit, the server must close the connection with a graceful close frame using close code `1009` (`MESSAGE_TOO_BIG`). The limit should apply to both text…

Part of Lego-X/LegoFlow-SWE.