You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2015/01/07 17:43:21 UTC

svn commit: r1650115 - in /tomcat/tc8.0.x/trunk: java/org/apache/coyote/http11/InternalNio2OutputBuffer.java webapps/docs/changelog.xml

Author: remm
Date: Wed Jan  7 16:43:20 2015
New Revision: 1650115

URL: http://svn.apache.org/r1650115
Log:
Port: Add flush to send ack in the NIO2 connector.

Modified:
    tomcat/tc8.0.x/trunk/java/org/apache/coyote/http11/InternalNio2OutputBuffer.java
    tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc8.0.x/trunk/java/org/apache/coyote/http11/InternalNio2OutputBuffer.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/coyote/http11/InternalNio2OutputBuffer.java?rev=1650115&r1=1650114&r2=1650115&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/java/org/apache/coyote/http11/InternalNio2OutputBuffer.java (original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/coyote/http11/InternalNio2OutputBuffer.java Wed Jan  7 16:43:20 2015
@@ -251,6 +251,7 @@ public class InternalNio2OutputBuffer ex
     public void sendAck() throws IOException {
         if (!committed) {
             addToBB(Constants.ACK_BYTES, 0, Constants.ACK_BYTES.length);
+            flushBuffer(true);
         }
     }
 

Modified: tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml?rev=1650115&r1=1650114&r2=1650115&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Wed Jan  7 16:43:20 2015
@@ -44,6 +44,15 @@
   They eventually become mixed with the numbered issues. (I.e., numbered
   issues to not "pop up" wrt. others).
 -->
+<section name="Tomcat 8.0.17 (markt)">
+  <subsection name="Coyote">
+    <changelog>
+      <fix>
+        Add flushing to send ack in the NIO2 connector. (remm)
+      </fix>
+    </changelog>
+  </subsection>
+</section>
 <section name="Tomcat 8.0.16 (markt)">
   <subsection name="Catalina">
     <changelog>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org