hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1337903 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
Date Sun, 13 May 2012 14:57:07 GMT
Author: olegk
Date: Sun May 13 14:57:07 2012
New Revision: 1337903

URL: http://svn.apache.org/viewvc?rev=1337903&view=rev
Log:
Reverted to using basic connection manager per default

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java?rev=1337903&r1=1337902&r2=1337903&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
Sun May 13 14:57:07 2012
@@ -77,8 +77,8 @@ import org.apache.http.impl.auth.DigestS
 import org.apache.http.impl.auth.KerberosSchemeFactory;
 import org.apache.http.impl.auth.NTLMSchemeFactory;
 import org.apache.http.impl.auth.SPNegoSchemeFactory;
+import org.apache.http.impl.conn.BasicClientConnectionManager;
 import org.apache.http.impl.conn.DefaultHttpRoutePlanner;
-import org.apache.http.impl.conn.PoolingClientConnectionManager;
 import org.apache.http.impl.conn.SchemeRegistryFactory;
 import org.apache.http.impl.cookie.BestMatchSpecFactory;
 import org.apache.http.impl.cookie.BrowserCompatSpecFactory;
@@ -327,7 +327,7 @@ public abstract class AbstractHttpClient
         if (factory != null) {
             connManager = factory.newInstance(params, registry);
         } else {
-            connManager = new PoolingClientConnectionManager(registry);
+            connManager = new BasicClientConnectionManager(registry);
         }
 
         return connManager;



Mime
View raw message