Skip to content

Conversation

@rmehta19
Copy link
Contributor

@rmehta19 rmehta19 commented Nov 14, 2025

b/458734698

@rmehta19
Copy link
Contributor Author

@ejona86, please review.

// Successfully negotiated the protocol.
logSslEngineDetails(Level.FINER, ctx, "TLS negotiation succeeded.", null);
propagateTlsComplete(ctx, handler.engine().getSession());
if (handshakeCompleteRunnable.isPresent()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason not to have a single copy of the code within the evt instanceof SslHandshakeCompletionEvent block?

ctx.fireExceptionCaught(t);
}
} else {
if (handshakeCompleteRunnable.isPresent()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete. We have no clue what this event was; it could be anything.

@ejona86 ejona86 changed the title run handshakeCompleteRunnable in success cases. netty: Run handshakeCompleteRunnable in success cases Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants