Hi,<br><br>I want to use some of the provided channel handlers, e.g., LengthFieldBasedFrameDecoder. However, my question is what happens if the client sends a malformed packet, e.g, one that has a huge length encoded in the first 4 bytes. Currently, the handler throws an exception which will probably cause the connection to be closed on the client. <br>
<br>I would instead want to send a nice error message back to client. How can I do that?<br><br>Thanks<br>utkarsh<br>