dakirily commented on a change in pull request #98:
URL: https://github.com/apache/qpid-broker-j/pull/98#discussion_r668159922
##########
File path:
broker-core/src/main/java/org/apache/qpid/server/transport/NonBlockingConnectionTLSDelegate.java
##########
@@ -310,6 +337,11 @@ private int wrapBufferArray(Collection<QpidByteBuffer>
buffers) throws SSLExcept
}
while(encrypted && _sslEngine.getHandshakeStatus() !=
SSLEngineResult.HandshakeStatus.NEED_UNWRAP);
+ if (enableDiagnosisOfSslEngineLooping)
Review comment:
Hi Alex,
I agree, connection looping was happening inside of both
`NonBlockingConnection` and `NonBlockingConnectionTLSDelegate`. It also
happened either when initiating SSL connection or when disconnecting. So
checking whether data was written into the output buffer or not seems to be
right solution.
--
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]