Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revet hack about jersey client connection manager to be used as now c…

…onnections are properly closed

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
  • Loading branch information...
commit a6e00bbb0525549030a088eccd1ee27a028bd68f 1 parent 29766d2
@adreghiciu adreghiciu authored cstamas committed
View
3  ...nt-core/src/main/java/org/sonatype/nexus/client/rest/jersey/JerseyNexusClientFactory.java
@@ -96,9 +96,6 @@ protected ApacheHttpClient4 doCreateHttpClientFor( final ConnectionInfo connecti
config.getSingletons().add( new XStreamXmlProvider( xstream, APPLICATION_XML_UTF8_TYPE ) );
// set _real_ URL for baseUrl, and not a redirection (typically http instead of https)
config.getProperties().put( ApacheHttpClient4Config.PROPERTY_FOLLOW_REDIRECTS, Boolean.FALSE );
- config.getProperties().put(
- ApacheHttpClient4Config.PROPERTY_CONNECTION_MANAGER, new ThreadSafeClientConnManager( )
- );
applyAuthenticationIfAny( connectionInfo, config );
applyProxyIfAny( connectionInfo, config );
Please sign in to comment.
Something went wrong with that request. Please try again.