Infinite message received without exception, and the channel can't be closed

"이희승 (Trustin Lee)" trustin at gmail.com
Thu Nov 4 02:53:41 EDT 2010


Could you post the problematic decoder's source code so that I can see
if FrameDecoder can be improved to detect such user errors and raise an
Exception instead of infinite event emission?

Thanks

milel wrote:
> It seems My problem was fixed,two days running without occurred again.
> the solution is add the missed line : "buf.markReaderIndex();" at the begin
> of decode(),
> which is commented in the head of FrameDecoder as example.
> Pity for my careless 
> 

-- 
Trustin Lee - http://gleamynode.net/


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


More information about the netty-users mailing list