pjfanning commented on code in PR #3323:
URL: https://github.com/apache/pekko/pull/3323#discussion_r3574042820
##########
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:
could you use an if-else to avoid the return?
--
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]