Log protocol version during handshake (#10178)
Motivation: Only cipher suite is logged during handshake. Picked protocol is interesting too. Modification: Log protocol as well. Result: More interesting information when debugging TLS handshakes.
This commit is contained in:
parent
cecbf18251
commit
43c139c2fa
@ -1784,7 +1784,12 @@ public class SslHandler extends ByteToMessageDecoder {
|
||||
handshakePromise.trySuccess(ctx.channel());
|
||||
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("{} HANDSHAKEN: {}", ctx.channel(), engine.getSession().getCipherSuite());
|
||||
SSLSession session = engine.getSession();
|
||||
logger.debug(
|
||||
"{} HANDSHAKEN: protocol:{} cipher suite:{}",
|
||||
ctx.channel(),
|
||||
session.getProtocol(),
|
||||
session.getCipherSuite());
|
||||
}
|
||||
ctx.fireUserEventTriggered(SslHandshakeCompletionEvent.SUCCESS);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user