Sergey Mamitko wrote:
Hello,

Can you explain an idea why ProtocolCodecFilter writes messages twice to next 
filter.
One time with HiddenByteBuffer: data sent to transport channel, but notification about send not passed to handler And second time with MessageByteBuffer: wrapped data byffer going trough filters but not sent to transport channel and notification about send then passed to handler
From the top of my head, it's a trick used to generate an event when the complete message has been sent. An empty buffer is written, and that increment the Message Written counter.

If I'm not wrong about the explanation, this is definitively something which has to be fixed (I already questionned myself about this behaviour, but never had time to fix it).

A JIRA would be welcomed !
-------------------------
Sergey Mamitko  [EMAIL PROTECTED]
ISD, http://www.isd.dp.ua/index.html.en



--
--
cordialement, regards,
Emmanuel Le'charny
www.iktek.com
directory.apache.org


Reply via email to