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
This commit is contained in:
Oleg Kalnichevski 2013-07-05 12:01:24 +00:00
parent 981aa247d7
commit 86e8b3d840
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ public class BasicHttpClientConnectionManager implements HttpClientConnectionMan
private static Registry<ConnectionSocketFactory> getDefaultRegistry() {
return RegistryBuilder.<ConnectionSocketFactory>create()
.register("https", PlainSocketFactory.getSocketFactory())
.register("http", PlainSocketFactory.getSocketFactory())
.register("https", SSLSocketFactory.getSocketFactory())
.build();
}