#1037·Ratchet

Limiting message size

Author: plonksterCreated Sep 6, 2023Updated Jun 2, 2025
Labelsenhancement

Is there any way to limit maximum websocket message size with Ratchet? As it is, an attacker can just send a 100MB message on a bunch of concurrent connections and effectively bring the server down due to memory exhaustion.

Thanks!