Merge pull request #3356 from eclipse/jetty-9.4.x-3350-httpclient_default_sslcontextfactory
Issue #3350 - Do not expect to be able to connect to https URLs with …
This commit is contained in:
commit
e84feb22b3
|
@ -182,12 +182,6 @@ public class HttpClient extends ContainerLifeCycle
|
|||
{
|
||||
this.transport = transport;
|
||||
addBean(transport);
|
||||
|
||||
if (sslContextFactory == null)
|
||||
{
|
||||
sslContextFactory = new SslContextFactory(false);
|
||||
sslContextFactory.setEndpointIdentificationAlgorithm("HTTPS");
|
||||
}
|
||||
this.sslContextFactory = sslContextFactory;
|
||||
addBean(sslContextFactory);
|
||||
addBean(handlers);
|
||||
|
|
Loading…
Reference in New Issue