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

Jari Aarniala updated WAGON-277:
--------------------------------

    Attachment: 0001-Support-for-pre-emptive-basic-authentication.patch

Attached patch as well.

> HttpClient wagon (wagon-http) uploads all files twice when preemptive 
> authentication is disabled
> ------------------------------------------------------------------------------------------------
>
>                 Key: WAGON-277
>                 URL: https://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
>         Attachments: 0001-Support-for-pre-emptive-basic-authentication.patch
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to