Author: markt
Date: Wed Sep  4 17:07:04 2013
New Revision: 1520069

URL: http://svn.apache.org/r1520069
Log:
Add a note to flush()

Modified:
    tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java

Modified: tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java?rev=1520069&r1=1520068&r2=1520069&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java Wed Sep  
4 17:07:04 2013
@@ -1408,6 +1408,9 @@ public abstract class AbstractAjpProcess
      * Callback to write data from the buffer.
      */
     protected void flush(boolean explicit) throws IOException {
+        // Calling code should ensure that there is no data in the buffers for
+        // non-blocking writes.
+        // TODO Validate the assertion above
         if (explicit && !finished) {
             // Send the flush message
             output(flushMessageArray, 0, flushMessageArray.length, true);



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

Reply via email to