You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2016/02/08 06:36:39 UTC
[jira] [Commented] (SSHD-640) Streams are not flushed from SSH
Command
[ https://issues.apache.org/jira/browse/SSHD-640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136603#comment-15136603 ]
Goldstein Lyor commented on SSHD-640:
-------------------------------------
Please provide some sample unit test code that reproduces this problem.
> Streams are not flushed from SSH Command
> ----------------------------------------
>
> Key: SSHD-640
> URL: https://issues.apache.org/jira/browse/SSHD-640
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Eugene Petrenko
>
> I create a command with ordinary streams. In command implementation I create thread, write several bytes from the tread to the OutputStream. And exit the command.
> The result is empty from client view. Adding explicit flush solves the issue. I'd expect output streams are flushed implicitly before command end is sent from a server to a client
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)