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

Goldstein Lyor resolved SSHD-313.
---------------------------------
    Resolution: Not A Problem

The "fix" seems to be written in Clojure or some Lisp-like language,,,

> Avoid deadlock on input stream
> ------------------------------
>
>                 Key: SSHD-313
>                 URL: https://issues.apache.org/jira/browse/SSHD-313
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>
> {code}
> Aha, my problem was that I was trying to read from stdin before returning
> from my Command.start() implementation. If I call new-connection-fn on a
> separate thread, it works.
> Would it be reasonable to either 1) throw an exception if anyone tries to
> read/write a stream before returning from start() or 2) allow reading from
> stdin rather than blocking forever? The current behavior is confusing.
> This is the fix:
> https://github.com/matvore/hesokuri/commit/5cb13e0a81d7ece6aebdf5c635d150bac1719bf1
> {code}



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

Reply via email to