He-Pin commented on code in PR #3323:
URL: https://github.com/apache/pekko/pull/3323#discussion_r3575813627
##########
stream/src/main/scala/org/apache/pekko/stream/impl/io/TlsGraphStage.scala:
##########
@@ -376,7 +376,7 @@ import pekko.util.ByteString
val result = wrapIntoTransportBuffer()
lastHandshakeStatus = result.getHandshakeStatus
- if (lastHandshakeStatus == FINISHED) handshakeFinished()
+ if (lastHandshakeStatus == FINISHED && !handshakeFinished()) return
Review Comment:
Updated in b08e5e419a: replaced the non-local return with structured if/else
while preserving the early stop after session-verification failure. Rebased
onto current main and reran the focused TLS suites (236 tests), style/header
checks, and MiMa.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]