File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
src/main/java/com/rabbitmq/stream Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1- /** Classes for AMQP 1.0 support. */
1+ /** Classes for AMQP 1.0 message format support. */
22package com .rabbitmq .stream .amqp ;
Original file line number Diff line number Diff line change @@ -129,10 +129,7 @@ class StreamEnvironment implements Environment {
129129 try {
130130 SslContext sslContext =
131131 tlsConfiguration .sslContext () == null
132- ? SslContextBuilder .forClient ()
133- .endpointIdentificationAlgorithm (
134- tlsConfiguration .hostnameVerificationEnabled () ? "HTTPS" : null )
135- .build ()
132+ ? SslContextBuilder .forClient ().build ()
136133 : tlsConfiguration .sslContext ();
137134
138135 clientParametersPrototype .sslContext (sslContext );
Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ public TlsConfiguration trustEverything() {
402402 this .sslContext (
403403 SslContextBuilder .forClient ()
404404 .trustManager (Utils .TRUST_EVERYTHING_TRUST_MANAGER )
405- .endpointIdentificationAlgorithm ("NONE" )
405+ .endpointIdentificationAlgorithm (null )
406406 .build ());
407407 } catch (SSLException e ) {
408408 throw new StreamException ("Error while creating Netty SSL context" , e );
You can’t perform that action at this time.
0 commit comments