Bill commented on code in PR #7449:
URL: https://github.com/apache/geode/pull/7449#discussion_r844417236
##########
geode-core/src/main/java/org/apache/geode/internal/net/NioSslEngine.java:
##########
@@ -381,19 +408,26 @@ public synchronized void close(SocketChannel
socketChannel) {
try (final ByteBufferSharing outputSharing = outputBufferVendor.open(1,
TimeUnit.MINUTES)) {
final ByteBuffer myNetData = outputSharing.getBuffer();
- if (!engine.isOutboundDone()) {
- ByteBuffer empty = ByteBuffer.wrap(new byte[0]);
- engine.closeOutbound();
+ engine.closeOutbound();
+
+ SSLEngineResult result = null;
+
+ while (!engine.isOutboundDone()) {
+ final ByteBuffer empty = ByteBuffer.wrap(new byte[0]);
Review Comment:
it is now
--
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]