TooLongFrameException raised too late in LengthFieldBasedFrameDecoder (Was: Re: Zero Copy)

"이희승 (Trustin Lee)" trustin at gmail.com
Tue Jun 29 02:41:44 EDT 2010


This issue has been reported already last week.  You can fork the
LengthFieldBasedFrameDecoder.java to fix the problem until the behavior
becomes configurable in the next feature release.

Do NOT reply to an irrelevant message.

HTH,
Trustin

On 06/29/2010 12:28 PM, Tchoum wrote:
> 
> Hi,
> 
> Why is LengthFieldBasedFrameDecoder throwing the exception
> TooLongFrameException only once it discarded all the data ? What if we want
> to close the socket because we assume that this client is ill behaving ?
> 
> Thanks,
> 
> PL

-- 
what we call human nature in actuality is human habit
http://gleamynode.net/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 293 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20100629/8cbef953/attachment.bin 


More information about the netty-users mailing list