[
https://issues.apache.org/jira/browse/SSHD-923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor resolved SSHD-923.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.3.0
> Avoid infinite waits on incoming data
> -------------------------------------
>
> Key: SSHD-923
> URL: https://issues.apache.org/jira/browse/SSHD-923
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 2.2.0
> Reporter: Goldstein Lyor
> Assignee: Goldstein Lyor
> Priority: Major
> Fix For: 2.3.0
>
>
> There are a few locations where the code waits for data buffers to be placed
> on some "queue" and then signaled that this has been done. For this purpose,
> it uses an "infinite" _wait()_ call on a {{synchronized}} object. This can
> cause waiting threads to hang forever even though the session/channel has
> been closed.
> We should
> * Replace these with reasonable *configurable* timeouts.
> * Make sure that the wait is signaled if the relevant session/channel is
> closed so it will detect the closed stream faster
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]