You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/01/03 21:36:58 UTC

[jira] [Commented] (WAGON-480) Non-threadsafe HttpClientContext is shared between threaded use of HttpClientWagon

    [ https://issues.apache.org/jira/browse/WAGON-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15796260#comment-15796260 ] 

Hudson commented on WAGON-480:
------------------------------

SUCCESS: Integrated in Jenkins build maven-wagon #1330 (See [https://builds.apache.org/job/maven-wagon/1330/])
[WAGON-480] Non-threadsafe HttpClientContext is shared between threaded (michaelo: [http://git-wip-us.apache.org/repos/asf/?p=maven-wagon.git&a=commit&h=1a005f1c3fe7492c10b06567738453118f1c15b6])
* (edit) wagon-providers/wagon-http/src/main/java/org/apache/maven/wagon/providers/http/AbstractHttpClientWagon.java


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