You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2021/04/01 19:06:00 UTC

[jira] [Closed] (SSHD-1031) Async write: completion listener is not always invoked

     [ https://issues.apache.org/jira/browse/SSHD-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lyor Goldstein closed SSHD-1031.
--------------------------------
    Resolution: Fixed

> 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
>              Labels: user-confirmation-required
>
> 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-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org