[ 
https://jira.codehaus.org/browse/WAGON-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Tran closed WAGON-431.
--------------------------

       Resolution: Fixed
    Fix Version/s: 2.9

fixed at

http://git-wip-us.apache.org/repos/asf/maven-wagon/commit/88a6f12d

> wagon ssh exec's  hangs stdout output > 32K
> -------------------------------------------
>
>                 Key: WAGON-431
>                 URL: https://jira.codehaus.org/browse/WAGON-431
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>    Affects Versions: 2.4, 2.5, 2.6, 2.7, 2.8
>            Reporter: Dan Tran
>            Assignee: Dan Tran
>             Fix For: 2.9
>
>
> When the remote execution has stdout output > 32K ( hardcoded by jsch)
> CommandExecutorStreamProcessor hangs waiting for remote stderr end of stream  
> which never arrive since remote shell is blocked by 32 buffer filled by stdout
> The solution is process stdout first ( instead of stderror), however we may 
> encounter the same issue if stderr output is more than 32K which less likely 
> to occur than stdout
> May be better to use StreamPumper from PlexusUtils to prevent blocking



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to