hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1204888 - in /httpcomponents/httpcore/trunk: RELEASE_NOTES.txt httpcore-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
Date Tue, 22 Nov 2011 09:57:05 GMT
Author: olegk
Date: Tue Nov 22 09:57:04 2011
New Revision: 1204888

URL: http://svn.apache.org/viewvc?rev=1204888&view=rev
Log:
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
Contributed by Sadeep Jayasumana <sadeep at wso2.com>

Modified:
    httpcomponents/httpcore/trunk/RELEASE_NOTES.txt
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java

Modified: httpcomponents/httpcore/trunk/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/RELEASE_NOTES.txt?rev=1204888&r1=1204887&r2=1204888&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/RELEASE_NOTES.txt (original)
+++ httpcomponents/httpcore/trunk/RELEASE_NOTES.txt Tue Nov 22 09:57:04 2011
@@ -1,3 +1,11 @@
+Changes since Release 4.2-ALPHA2
+-------------------
+
+* [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> 
+
 Release 4.2-ALPHA2
 -------------------
 

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java?rev=1204888&r1=1204887&r2=1204888&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
Tue Nov 22 09:57:04 2011
@@ -161,6 +161,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