I am implementing a WebSocket service using netty 3.4.
I need to limit the frame size to avoid DoS attacks with very very long frames. I want the connection to be dropped after 32KB of data, even if the frame was not finished yet and it was not passed to my Handler.
Is there any way to do that?