[ 
https://issues.apache.org/jira/browse/SSHD-626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148767#comment-15148767
 ] 

Hugo Arès commented on SSHD-626:
--------------------------------

I tracked it down hoping that the information I gave would ring a bell to 
someone from this project. I can upload a revert patch but it feels like going 
backward. The intention of the author was clearly to reuse incoming buffer for 
the outgoing response. Because of my lack of knowledge in this project, I 
cannot tell if it is safe to reuse incoming buffer in AbstractChannel which 
would mean that there is a bug in Mina since the same code works with NIO2.

I will try spend more time on this issue soon but in the meantime, I will 
upload a revert patch.

> ssh scp command is broken on mina backend
> -----------------------------------------
>
>                 Key: SSHD-626
>                 URL: https://issues.apache.org/jira/browse/SSHD-626
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>         Environment: Gerrit Code Review
>            Reporter: David Ostrovsky
>
> After upgrade of sshd-core to 1.0.0 and mina to 2.10
> ssh scp command doesn't work with mina backend.
> * Upgrade change: https://gerrit-review.googlesource.com/73033
> * Debug server trace: http://paste.openstack.org/show/484740
> * Debug client trace: http://paste.openstack.org/show/484741
> Workaround: use nio2 backend in gerrit.config:
> {code}
>   [sshd]
>     backend = nio2
> {code}



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

Reply via email to