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:24 UTC
[httpcomponents-core] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
The following commit(s) were added to refs/heads/master by this push:
new 9cd38f6 Bug fix: non-blocking TLS sessions fail to update their event interest mask upon TLS handshake initiation
9cd38f6 is described below
commit 9cd38f61d82e161edfed0f6d10b2fdefc535f85a
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 2d8f94c..4d8e48b 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
@@ -297,6 +297,7 @@ public class SSLIOSession implements IOSession {
this.inEncrypted.release();
this.outEncrypted.release();
doHandshake(protocolSession);
+ updateEventMask();
} finally {
this.session.getLock().unlock();
}