add some debugging info to assert
Original commit: elastic/x-pack-elasticsearch@ef3c68e4db
This commit is contained in:
parent
fc8e787325
commit
7a3932de94
|
@ -91,7 +91,7 @@ public interface ServerTransportFilter {
|
|||
} else if (((TcpTransportChannel) unwrappedChannel).getChannel() instanceof io.netty.channel.Channel) {
|
||||
io.netty.channel.Channel channel = (io.netty.channel.Channel) ((TcpTransportChannel) unwrappedChannel).getChannel();
|
||||
io.netty.handler.ssl.SslHandler sslHandler = channel.pipeline().get(io.netty.handler.ssl.SslHandler.class);
|
||||
assert sslHandler != null;
|
||||
assert sslHandler != null : "channel [" + channel + "] did not have a ssl handler. pipeline " + channel.pipeline();
|
||||
extactClientCertificates(sslHandler.engine(), channel);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue