maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (WAGON-480) Non-threadsafe HttpClientContext is shared between threaded use of HttpClientWagon
Date Tue, 03 Jan 2017 22:06:58 GMT

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

Michael Osipov closed WAGON-480.
--------------------------------
    Resolution: Fixed

Fixed with [1a005f1c3fe7492c10b06567738453118f1c15b6|https://git-wip-us.apache.org/repos/asf?p=maven-wagon.git;a=commit;h=1a005f1c3fe7492c10b06567738453118f1c15b6].

> 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)

Mime
View raw message