Skip to content


Subversion checkout URL

You can clone with
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 <>
  • Loading branch information...
commit a6e00bbb0525549030a088eccd1ee27a028bd68f 1 parent 29766d2
@adreghiciu adreghiciu authored cstamas committed
3  ...nt-core/src/main/java/org/sonatype/nexus/client/rest/jersey/
@@ -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.