writtenBytes and lastWriteTime are not updated immediately.
-----------------------------------------------------------

                 Key: DIRMINA-552
                 URL: https://issues.apache.org/jira/browse/DIRMINA-552
             Project: MINA
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0-M1
            Reporter: Trustin Lee
            Assignee: Trustin Lee
             Fix For: 2.0.0-M2


Current I/O processor implementations update 
IoSession.writtenBytes/lastWriteTime and IoService.writtenBytes/lastWriteTime 
only when writtenMessages is updated.  This behavior causes 
sessionIdle(WRITER_IDLE) event to be fired while a big buffer or file is being 
written over slow connection.  Therefore, we need to update the writtenBytes 
and lastWriteTime as soon as possible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to