Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-552

writtenBytes and lastWriteTime are not updated immediately.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M1
    • 2.0.0-M2
    • Core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              trustin Trustin Lee
              trustin Trustin Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: