You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2022/04/02 11:47:37 UTC

[httpcomponents-core] branch 5.1.x updated: Bug fix: non-blocking TLS sessions fail to update their event interest mask upon TLS handshake initiation

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

olegk pushed a commit to branch 5.1.x
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git


The following commit(s) were added to refs/heads/5.1.x by this push:
     new 1963a3e  Bug fix: non-blocking TLS sessions fail to update their event interest mask upon TLS handshake initiation
1963a3e is described below

commit 1963a3eed9c53cb7dc39cf746443c77c631071bb
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Sat Apr 2 13:44:34 2022 +0200

    Bug fix: non-blocking TLS sessions fail to update their event interest mask upon TLS handshake initiation
---
 .../src/main/java/org/apache/hc/core5/reactor/ssl/SSLIOSession.java      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/httpcore5/src/main/java/org/apache/hc/core5/reactor/ssl/SSLIOSession.java b/httpcore5/src/main/java/org/apache/hc/core5/reactor/ssl/SSLIOSession.java
index 5776a6e..563512d 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/reactor/ssl/SSLIOSession.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/reactor/ssl/SSLIOSession.java
@@ -257,6 +257,7 @@ public class SSLIOSession implements IOSession {
             this.inEncrypted.release();
             this.outEncrypted.release();
             doHandshake(protocolSession);
+            updateEventMask();
         } finally {
             this.session.getLock().unlock();
         }