[ http://jira.codehaus.org/browse/MNG-4236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183143#action_183143 ]
John Casey commented on MNG-4236: --------------------------------- The difference between httpclient and what the sun HttpURLConnection does seems to be that sun's impl caches authentication and preemptively sends the Authorization header after the first challenge happens. This means that the first transfer happens twice, to trigger the authentication challenge, and then subsequent transfers happen once only with preemptive auth. We need to look into a way to cache the fact of an auth challenge so we know to authenticate preemptively in the httpclient-driven wagon. > [regression] http wagon uploads files twice with Maven 2.2.0 when preemptive > auth is disabled (default setting) > --------------------------------------------------------------------------------------------------------------- > > Key: MNG-4236 > URL: http://jira.codehaus.org/browse/MNG-4236 > Project: Maven 2 > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 2.2.0 > Reporter: John Casey > Priority: Blocker > Fix For: 2.2.1 > > -- 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