You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/09/04 19:07:05 UTC
svn commit: r1520069 -
/tomcat/trunk/java/org/apache/coyote/ajp/AbstractAjpProcessor.java
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org