FrameDecoder and cumulation size
Shay Banon
kimchy at gmail.com
Mon Jul 18 18:04:24 EDT 2011
Heya,
The frame decoder keeps a cumulation buffer around per channel. Correct me
if I am wrong, won't sending a very large request (for example, using fixed
length frame decoder) will mean that this buffer will be allocated with that
large message for now on till the channel is either closed or disconnected?
If so, maybe it makes sense to add a parameter to FrameDecoder, where it
will discard cumulation buffers that have exceeded a certain size?
-shay.banon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110719/d2861f44/attachment.html
More information about the netty-users
mailing list