tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1237154 - /tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java
Date Sat, 28 Jan 2012 20:28:18 GMT
Author: markt
Date: Sat Jan 28 20:28:18 2012
New Revision: 1237154

URL: http://svn.apache.org/viewvc?rev=1237154&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=52547
Ensure byteCount is reset at the end of a HTTP 1.0 request

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java?rev=1237154&r1=1237153&r2=1237154&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/AbstractOutputBuffer.java Sat Jan 28 20:28:18
2012
@@ -268,7 +268,7 @@ public abstract class AbstractOutputBuff
         lastActiveFilter = -1;
         committed = false;
         finished = false;
-
+        byteCount = 0;
     }
 
     /**



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


Mime
View raw message