Wenrui Guo wrote:
I already locate the position where exception occurs. It seems like when
MINA receive a network packet which is longer than one message size, it
maybe move to not the start of a new message, instead, I notice it is
placed at the last byte of last message.
The buffer is auto-growing, allowing many PDU parts to be added to the
buffer until the codec get it.
As soon as you have dealt with the buffer, you can clear it, otherwise
it will continue to grow, IFAIK.
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org