Michael Osipov created WAGON-591:
------------------------------------

             Summary: Transfer event is not restarted when request is redirected
                 Key: WAGON-591
                 URL: https://issues.apache.org/jira/browse/WAGON-591
             Project: Maven Wagon
          Issue Type: Bug
          Components: wagon-http
    Affects Versions: 3.4.0
            Reporter: Michael Osipov
            Assignee: Michael Osipov


When a {{PUT}} request is redirected and the redirect is followed, the transfer 
is progressed resulting in two issues:

# On very progress event one sees:
{noformat}
[DEBUG] Failed to dispatch transfer event 'PUT PROGRESSED 
http://oss.sonatype.org/service/local/staging/deploy/maven2/myProject.pom <> 
/Users/haotianw/workplace/myProject/pom.xml' to 
org.apache.maven.cli.transfer.ConsoleMavenTransferListener
java.lang.IllegalArgumentException: progressed file size cannot be greater than 
size: 6984 > 4936
{noformat}
# The total upload size displayed with Maven embedder is double in size of the 
resource being uploaded.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to