You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Evgeny Pasynkov (Jira)" <ji...@apache.org> on 2020/07/09 10:35:00 UTC
[jira] [Updated] (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 ]
Evgeny Pasynkov updated SSHD-1031:
----------------------------------
Description:
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}
Thank you in advance
was:
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
```
Thank you in advance
> 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}
>
> 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