diff --git a/httpclient/src/main/java/org/apache/http/impl/conn/BasicHttpClientConnectionManager.java b/httpclient/src/main/java/org/apache/http/impl/conn/BasicHttpClientConnectionManager.java index 2c5e3ce79..4b5764afd 100644 --- a/httpclient/src/main/java/org/apache/http/impl/conn/BasicHttpClientConnectionManager.java +++ b/httpclient/src/main/java/org/apache/http/impl/conn/BasicHttpClientConnectionManager.java @@ -112,7 +112,7 @@ public class BasicHttpClientConnectionManager implements HttpClientConnectionMan private static Registry getDefaultRegistry() { return RegistryBuilder.create() - .register("https", PlainSocketFactory.getSocketFactory()) + .register("http", PlainSocketFactory.getSocketFactory()) .register("https", SSLSocketFactory.getSocketFactory()) .build(); }