From 86e8b3d840a3a825953dedf92321f011e4011bb9 Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Fri, 5 Jul 2013 12:01:24 +0000 Subject: [PATCH] HTTPCLIENT-1382: fixed invalid default scheme registration in BasicHttpClientConnectionManager git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1499978 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/http/impl/conn/BasicHttpClientConnectionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }