[ 
http://jira.codehaus.org/browse/WAGON-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=269636#action_269636
 ] 

Chris Tanger commented on WAGON-277:
------------------------------------

For Nexus users this is related to https://issues.sonatype.org/browse/NEXUS-4347


> HttpClient wagon (wagon-http) uploads all files twice when preemptive 
> authentication is disabled
> ------------------------------------------------------------------------------------------------
>
>                 Key: WAGON-277
>                 URL: http://jira.codehaus.org/browse/WAGON-277
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-http
>    Affects Versions: 1.0-beta-6
>            Reporter: John Casey
>            Priority: Critical
>             Fix For: 1.0
>
>
> This causes timeouts and tends to cause invalid checksums for anything that 
> attaches an observer to the stream or connection (Maven does). It seems that 
> the Sun (lightweight-http) wagon sends the first file twice, then caches the 
> authentication after a challenge and uses preemptive auth from then on. This 
> wagon should probably take steps to approximate this strategy, or possibly 
> even improve on it.
> For an example of this, try deploying any artifact to a normal http 
> repository (Nexus uses bare HTTP PUT, for instance) with Maven 2.2.0, and 
> watch the checksums or logs to see how the transfer takes place.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to