You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/13 18:48:00 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=16437739#comment-16437739 ] 

ASF GitHub Bot commented on SSHD-640:
-------------------------------------

GitHub user gnodet opened a pull request:

    https://github.com/apache/mina-sshd/pull/52

    [SSHD-640] Streams are not flushed from SSH Command

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gnodet/mina-sshd SSHD-640

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/mina-sshd/pull/52.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #52
    
----
commit d409032a74ff5a30abef0c7738a0f653a623425d
Author: Guillaume Nodet <gn...@...>
Date:   2018-04-13T18:45:42Z

    [SSHD-640] Streams are not flushed from SSH Command

----


> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)