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 2019/09/16 18:52:51 UTC

[httpcomponents-core] branch HTTPCORE-600 created (now 116bf0c)

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

olegk pushed a change to branch HTTPCORE-600
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git.


      at 116bf0c  HTTPCORE-600: SSLIOSession incorrectly disables input interest when there is still decrypted data available in the session input buffer (back-ported from 4.4.x)

This branch includes the following new commits:

     new 116bf0c  HTTPCORE-600: SSLIOSession incorrectly disables input interest when there is still decrypted data available in the session input buffer (back-ported from 4.4.x)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[httpcomponents-core] 01/01: HTTPCORE-600: SSLIOSession incorrectly disables input interest when there is still decrypted data available in the session input buffer (back-ported from 4.4.x)

Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 116bf0c4df0d290edb51dd2795599e8faadc1469
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Sat Sep 14 11:04:59 2019 +0200

    HTTPCORE-600: SSLIOSession incorrectly disables input interest when there is still decrypted data available in the session input buffer (back-ported from 4.4.x)
---
 .../src/main/java/org/apache/hc/core5/reactor/ssl/SSLIOSession.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 6b54fcb..b89468e 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
@@ -381,7 +381,7 @@ public class SSLIOSession implements IOSession {
             break;
         }
 
-        if (this.endOfStream) {
+        if (this.endOfStream && !this.inPlain.hasData()) {
             newMask = newMask & ~EventMask.READ;
         }