[ https://issues.apache.org/jira/browse/SSHD-313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated SSHD-313: --------------------------------- Fix Version/s: 0.12.0 > 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 > Fix For: 0.12.0 > > > {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.2#6252)