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:
Simone Bordet 2019-02-13 15:16:24 +01:00 committed by GitHub
commit e84feb22b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -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);