Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-1031

Async write: completion listener is not always invoked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • None

    Description

      Hi,

      Sometimes I observe the situation when the listener is not invoked for async write operation nor exception is thrown

      the code is:

      try {    
        val future = IoOutputStream.writePacket(...)    
        future.addListener(....) 
      } catch (...) {...}
      

      When this occurs, the error is logged in ServerSession:

      exceptionCaught(SSHServerSessionEx[****])[state=Opened] IOException: Broken pipe
      

       This problem never happened in 2.4.0

      Thank you in advance

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xvost Evgeny Pasynkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: