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:
parent
981aa247d7
commit
86e8b3d840
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue