You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2014/12/27 23:41:10 UTC

[jira] (WAGON-429) Scp download hangs

Dan Tran created WAGON-429:
------------------------------

             Summary: Scp download hangs
                 Key: WAGON-429
                 URL: https://jira.codehaus.org/browse/WAGON-429
             Project: Maven Wagon
          Issue Type: Bug
    Affects Versions: 2.8, 2.7, 2.6, 2.5
            Reporter: Dan Tran


WAGON-384 add a new getTransfer() signature to support > 2G file using 'long' for max file size. However it missed to add the same signature at WagonScp which has the logic to honor the remote content length.

therefore, WagonScp ( 2.5+) use the getTransfer method from AbstractWagon which default the filesize to Long.MAX and there for hang the transfer

sample pom to produce this issue  is WAGON-384 add a new getTransfer() signature to support > 2G file using 'long' for max file size. However it missed to add the same signature at WagonScp which has the logic to honor the remote content length.
therefore, WagonScp ( 2.5+) use the getTransfer method from AbstractWagon which default the filesize to Long.MAX and there for hang the transfer




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