tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1067151 - /tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java
Date Fri, 04 Feb 2011 11:16:14 GMT
Author: mturk
Date: Fri Feb  4 11:16:14 2011
New Revision: 1067151

URL: http://svn.apache.org/viewvc?rev=1067151&view=rev
Log:
Do not send flush packet if explicit is false

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

Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java?rev=1067151&r1=1067150&r2=1067151&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java Fri Feb  4 11:16:14 2011
@@ -578,7 +578,7 @@ public class AjpProcessor extends Abstra
      */
     @Override
     protected void flush(boolean explicit) throws IOException {
-        if (!finished) {
+        if (explicit && !finished) {
             // Send the flush message
             output.write(flushMessageArray);
         }



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


Mime
View raw message