[ https://issues.apache.org/jira/browse/SSHD-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17154744#comment-17154744 ]
Lyor Goldstein commented on SSHD-1031: -------------------------------------- This happens if {{doWriteIfPossible}} replaces the future that is held in {{pendingWrite}} holder. > Async write: completion listener is not always invoked > ------------------------------------------------------ > > Key: SSHD-1031 > URL: https://issues.apache.org/jira/browse/SSHD-1031 > Project: MINA SSHD > Issue Type: Bug > Affects Versions: 2.5.0 > Reporter: Evgeny Pasynkov > Priority: Major > > Hi, > Sometimes I observe the situation when the listener is not invoked for async > write operation nor exception is thrown > the code is: > {noformat} > try { > val future = IoOutputStream.writePacket(...) > future.addListener(....) > } catch (...) {...} > {noformat} > When this occurs, the error is logged in ServerSession: > {noformat} > exceptionCaught(SSHServerSessionEx[****])[state=Opened] IOException: Broken > pipe > {noformat} > This problem never happened in 2.4.0 > Thank you in advance -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org