tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1478554 - in /tomcat/trunk/java/org/apache/coyote/http11: InternalAprOutputBuffer.java InternalOutputBuffer.java
Date Thu, 02 May 2013 21:12:24 GMT
Author: markt
Date: Thu May  2 21:12:11 2013
New Revision: 1478554

URL: http://svn.apache.org/r1478554
Log:
Minor tweaks

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/InternalAprOutputBuffer.java
    tomcat/trunk/java/org/apache/coyote/http11/InternalOutputBuffer.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/InternalAprOutputBuffer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/InternalAprOutputBuffer.java?rev=1478554&r1=1478553&r2=1478554&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/InternalAprOutputBuffer.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/InternalAprOutputBuffer.java Thu May  2 21:12:11
2013
@@ -108,7 +108,6 @@ public class InternalAprOutputBuffer ext
 
     // ------------------------------------------------ HTTP/1.1 Output Methods
 
-
     /**
      * Send an acknowledgment.
      */

Modified: tomcat/trunk/java/org/apache/coyote/http11/InternalOutputBuffer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/InternalOutputBuffer.java?rev=1478554&r1=1478553&r2=1478554&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/InternalOutputBuffer.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/InternalOutputBuffer.java Thu May  2 21:12:11
2013
@@ -186,7 +186,10 @@ public class InternalOutputBuffer extend
 
     @Override
     protected boolean hasMoreDataToFlush() {
-        // Blocking IO so always returns false.
+        // The blocking connector always blocks until the previous write is
+        // complete so there is never data remaining to flush. This effectively
+        // allows non-blocking code to work with the blocking connector but -
+        // obviously - every write will always block.
         return false;
     }
 



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


Mime
View raw message