You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by is...@apache.org on 2022/01/17 10:44:33 UTC

[ignite] branch master updated: IGNITE-15337 Fixed TLS1.3 freeze during handshake

This is an automated email from the ASF dual-hosted git repository.

isapego pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new d101288  IGNITE-15337 Fixed TLS1.3 freeze during handshake
d101288 is described below

commit d1012888a283d20fbb69f3332ba86f3ab3b1f571
Author: Igor Sapego <is...@apache.org>
AuthorDate: Mon Jan 17 13:43:43 2022 +0300

    IGNITE-15337 Fixed TLS1.3 freeze during handshake
    
    This closes #9742
---
 .../org/apache/ignite/internal/util/nio/ssl/GridNioSslHandler.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/nio/ssl/GridNioSslHandler.java b/modules/core/src/main/java/org/apache/ignite/internal/util/nio/ssl/GridNioSslHandler.java
index bde354d..33000c7 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/nio/ssl/GridNioSslHandler.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/nio/ssl/GridNioSslHandler.java
@@ -331,7 +331,8 @@ class GridNioSslHandler extends ReentrantLock {
 
         if (!handshakeFinished)
             handshake();
-        else
+
+        if (inNetBuf.hasRemaining())
             unwrapData();
 
         if (isInboundDone()) {