Le 5/13/13 7:28 PM, Whitener, Winona T. a écrit : > I am finally (at the TRACE level) seeing something odd. The NioProcessor-2 > is spitting out a SENT: message (from the client handler) saying: > > SENT: HeapBuffer[pos=0 lim=0 cap=0: empty] > > But I'm doing the flip(). I'm not adding any carriage returns. I'm not ever > sending out a blank string. Would this be causing the connection to close?
Nope. This is the emtpy message used to count the message sent. When we send a message, once it's encoded, we have no way to know when the full message has been sent, as it may be sent in chunks. We add an empty message into the queue which is used as a marker for messages taht are fully sent. Do you see the messages being sent (not the empty ones) -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
