hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [23/35] httpcomponents-core git commit: HTTPCORE-282: Newly created non-blocking I/O sessions to have READ interest op bit cleared per default due to a regression introduced by r1053669 (merged from trunk) Contributed by Sadeep Jayasumana <sadeep at wso2
Date Tue, 09 May 2017 20:03:52 GMT
HTTPCORE-282: Newly created non-blocking I/O sessions to have READ interest op bit cleared
per default due to a regression introduced by r1053669 (merged from trunk)
Contributed by Sadeep Jayasumana <sadeep at wso2.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x@1204889
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/85263c20
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/85263c20
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/85263c20

Branch: refs/heads/4.1.x
Commit: 85263c20b75d5e984a2aba5b6cf574a4967d3b62
Parents: 76ed6f5
Author: Oleg Kalnichevski <olegk@apache.org>
Authored: Tue Nov 22 09:59:08 2011 +0000
Committer: Oleg Kalnichevski <olegk@apache.org>
Committed: Tue Nov 22 09:59:08 2011 +0000

----------------------------------------------------------------------
 .gitignore                                                     | 6 ++++++
 RELEASE_NOTES.txt                                              | 5 +++++
 .../java/org/apache/http/impl/nio/NHttpConnectionBase.java     | 1 +
 3 files changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/85263c20/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..535b4cc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+.classpath
+.project
+.settings
+.clover
+.externalToolBuilders
+target

http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/85263c20/RELEASE_NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt
index f59bd02..e7d7526 100644
--- a/RELEASE_NOTES.txt
+++ b/RELEASE_NOTES.txt
@@ -1,6 +1,11 @@
 Changes since 4.1.3
 -------------------
 
+* [HTTPCORE-282] Newly created non-blocking I/O sessions to have READ interest op bit cleared

+  per default due to a regression introduced in release 4.1.1. This has a side effect on
client
+  side non-blocking connections when running in the interest op queuing mode.
+  Contributed by Sadeep Jayasumana <sadeep at wso2.com> 
+
 * [HTTPCORE-268] Handle runtime exceptions thrown by SSLEngine.
   Contributed by Oleg Kalnichevski <olegk at apache.org>
 

http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/85263c20/httpcore-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
b/httpcore-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
index 4e2b192..980b883 100644
--- a/httpcore-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
+++ b/httpcore-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
@@ -156,6 +156,7 @@ public class NHttpConnectionBase
         this.session = session;
         this.context = new SessionHttpContext(this.session);
         this.session.setBufferStatus(this);
+        this.session.setEvent(EventMask.READ);
         this.remote = this.session.getRemoteAddress();
     }
 


Mime
View raw message