Thank you, Trustin. Your instructions are of great help. I have another question: How to decode messages remaining in buffer when tcp session is idle? I have stored the buffer in session, and I can also get the buffer from my sessionIdle() method. But I don't know how to tell MINA to decode the messages remaining in buffer.
Thanks -- View this message in context: http://www.nabble.com/Bad-Content-Length-problem-tf4696210s16868.html#a13523240 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.