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

Dan Tran updated WAGON-429:
---------------------------

    Description: 
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 at 
https://svn.codehaus.org/mojo/trunk/mojo/wagon-maven-plugin/src/it/ssh-it

  was:
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



> Scp download hangs
> ------------------
>
>                 Key: WAGON-429
>                 URL: https://jira.codehaus.org/browse/WAGON-429
>             Project: Maven Wagon
>          Issue Type: Bug
>    Affects Versions: 2.5, 2.6, 2.7, 2.8
>            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 at 
> https://svn.codehaus.org/mojo/trunk/mojo/wagon-maven-plugin/src/it/ssh-it



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

Reply via email to