Michael Osipov created WAGON-480:
------------------------------------

             Summary: Non-threadsafe HttpClientContext is shared between 
threaded use of HttpClientWagon
                 Key: WAGON-480
                 URL: https://issues.apache.org/jira/browse/WAGON-480
             Project: Maven Wagon
          Issue Type: Bug
          Components: wagon-http
    Affects Versions: 2.11
            Reporter: Michael Osipov
            Assignee: Michael Osipov
             Fix For: 2.12


The 
[{{HttpClientContext}}|https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/protocol/HttpClientContext.html]
 is used as an instance private object, populated only once during 
{{connect()}}. The Wagon instance can be shared between multiple threads 
causing any kind of side effects to the requests like failing auth or abnormal 
redirects.

With the Jetty 8 upgrade of all tests several unit tests failed to authenticate.

This issue has been found during WAGON-474.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to