You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by feixiangff <gi...@git.apache.org> on 2019/01/09 07:13:55 UTC

[GitHub] mina-sshd pull request #86: [bugfix] fix transfer large file bug(more than1G...

GitHub user feixiangff opened a pull request:

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

    [bugfix] fix transfer large file bug(more than1GB)

    fix a bug when using mina sshd to transfer a large source file(more than 1GB) by scp(scp username@remote:/largefile ./)
    because if the source file is larger than 1GB, the function NumberUtils.getNextPowerOf2(int) can not compute a correct value for new cache and in endless loop (the value j will be negative and in next round, j will be 0, and the function comes to endless loop)

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

    $ git pull https://github.com/feixiangff/mina-sshd bugfix

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

    https://github.com/apache/mina-sshd/pull/86.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 #86
    
----
commit 7682be508cdcedb8b10d4b94ec4ae0d69bf6d19c
Author: xiang.fei <xi...@...>
Date:   2019-01-09T07:02:28Z

    [bugfix] fix transfer large file bug(more than1GB)

----


---