You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jean Niklas L'orange (JIRA)" <ji...@apache.org> on 2016/01/22 00:57:39 UTC
[jira] [Created] (WAGON-449) CLIENT not changed after setting
PoolingHttpClientConnectionManager
Jean Niklas L'orange created WAGON-449:
------------------------------------------
Summary: CLIENT not changed after setting PoolingHttpClientConnectionManager
Key: WAGON-449
URL: https://issues.apache.org/jira/browse/WAGON-449
Project: Maven Wagon
Issue Type: Bug
Components: wagon-http
Affects Versions: 2.10, 2.9, 2.8
Reporter: Jean Niklas L'orange
The AbstractHttpClientWagon class statically creates both a PoolingHttpClientConnectionManager and a client that uses said connection manager. This is fine, had it not been the case that the client itself is a final field and is never updated.
Thus, using {{setPoolingHttpClientConnectionManager}} has no effect as the client is based on the PoolingHttpClientConnectionManager created at startup. This affects users that e.g. may want to change the SSLContext to support self-signed certificates.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)