[
https://issues.apache.org/jira/browse/SSHD-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lyor Goldstein updated SSHD-1031:
---------------------------------
Comment: was deleted
(was: 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
> Assignee: Lyor Goldstein
> 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: [email protected]
For additional commands, e-mail: [email protected]