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

Expose getCurrentWriteRequest() via IoSession

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M1
    • 2.0.0-M2
    • Core
    • None
    • jdk1.6.0_03 Linux x64

    Description

      It would be helpful is the protected method getCurrentWriteRequest() was exposed in the IoSession interface. Currently when a client closes a connection before the message is completely sent there is no way to find out how much data was acutally sent before the connection was closed. If getCurrentWriteRequest was exposed via IoSession it could be checked in sessionClosed to see if it is non-null and how many bytes are were actually sent could be determined.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: