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

Goldstein Lyor resolved SSHD-502.
---------------------------------
    Resolution: Fixed

The only such calls not replace are ones dealing with _close_. Replacing them 
with timeouts is more tricky - what if timeout expires before disconnect 
handshake is completed ? What happens to the entity which may now be only 
"half" closed. We would need a _force_ or _abort_ method on the _CloseFuture_ 
which is much more difficult to implement. Open a *separate* issue for this - 
SSHD-503

> Review all await() calls and replace them with (configurable) timeouts
> ----------------------------------------------------------------------
>
>                 Key: SSHD-502
>                 URL: https://issues.apache.org/jira/browse/SSHD-502
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Goldstein Lyor
>            Assignee: Goldstein Lyor
>
> Avoid long delays on asynchronous operations - if the peer does not respond 
> to the request within a reasonable (configurable) amount of time, throw an 
> exception. The current code has several locations where _await()_ (i.e., 
> *indefinitely*) is called which should be replaced with timeout calls.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to