Increasing the buffer size when receiving messages
"이희승 (Trustin Lee)"
trustin at gmail.com
Thu Aug 26 00:53:29 EDT 2010
Maybe you are using an older version? There was such a bug before, but
it has been fixed in the latest 3.2 release.
On 08/11/2010 10:17 PM, Ankush Bhatiya wrote:
> Hi,
>
> Can someone please answer this question, I am getting datagram packets
> of length upto 1000 bytes but netty is reading atmost 768 bytes from
> each packet. Although I have set the option
> bootstrap.setOption("receiveBufferSizePredictor", new
> FixedReceiveBufferSizePredictor(1000));
>
> but seems like it is not working. Any ideas?
>
> Ankush
>
> On Fri, Aug 6, 2010 at 6:02 PM, christoforever <christoforever at gmail.com
> <mailto:christoforever at gmail.com>> wrote:
>
>
> I've been playing around with netty for only a few days so forgive
> me if my
> question sounds noobish or ignorant ... I'm trying to implement a
> server of
> sorts which will receive a variable amount of data ( all of it being
> over
> the standard 1024 byte array size ). I've looked around a bit and
> nothing
> has stuck out at me ... but how can I increase the byte buffer array
> size of
> the ChannelBuffer to accept variable amounts or at the very least a much
> larger amount than 1024. Thanks.
> --
> View this message in context:
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Increasing-the-buffer-size-when-receiving-messages-tp5382383p5382383.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org <mailto:netty-users at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/netty-users
>
>
>
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
--
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/20100826/c7672815/attachment.bin
More information about the netty-users
mailing list