TooLongFrameException question

Stephen Pape Stephen.Pape.ctr at RL.af.mil
Thu Dec 3 08:56:06 EST 2009


Well according to the documentation for TooLongFrameException
(http://www.jboss.org/file-access/default/members/netty/freezone/api/3.1/org/jboss/netty/handler/codec/frame/TooLongFrameException.html)
you need to raise the length in the constructor to a
DelimiterBasedFrameDecoder you're using. 

-Stephen


bt wrote:
> 
> Hello!
> 
> I am getting this error about exceeding frame size: 
> org.jboss.netty.handler.codec.frame.TooLongFrameException: The frame 
> length exceeds 8192: 39976.
> 
> How can I set the frame size to be big enough?  I looked at 
> ClientBootstrap's setOption() method -- but I'm not sure where to find 
> out the names of the options that I can legally set.
> 
> Let me know if I have left out some info that might help understand the 
> problem I am experiencing.
> 
> Thanks!
> 
> -Ben
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/TooLongFrameException-question-tp4104651p4106175.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list