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 2008/01/06 23:31:11 UTC

svn commit: r609449 - in /tomcat: container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java container/tc5.5.x/webapps/docs/changelog.xml current/tc5.5.x/STATUS.txt

Author: markt
Date: Sun Jan  6 14:31:10 2008
New Revision: 609449

URL: http://svn.apache.org/viewvc?rev=609449&view=rev
Log:
Fix bug 43236. Reset usingWriter and associated flags when response is reset.

Modified:
    tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java
    tomcat/container/tc5.5.x/webapps/docs/changelog.xml
    tomcat/current/tc5.5.x/STATUS.txt

Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java?rev=609449&r1=609448&r2=609449&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java (original)
+++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java Sun Jan  6 14:31:10 2008
@@ -652,6 +652,9 @@
 
         coyoteResponse.reset();
         outputBuffer.reset();
+        usingOutputStream = false;
+        usingWriter = false;
+        isCharacterEncodingSet = false;
     }
 
 

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=609449&r1=609448&r2=609449&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sun Jan  6 14:31:10 2008
@@ -68,6 +68,10 @@
         o.a.juli.ClassLoaderLogManager handle more then one system property replacement at file logging.properties. (pero)
       </fix>
       <fix>
+        <bug>43236</bug>: Reset usingWriter and associated flags when response
+        is reset. (markt)
+      </fix>
+      <fix>
         <bug>43241</bug>: ServletContext.getResourceAsStream() not spec
         compliant. Patch provided by John Kew. (markt)
       </fix>

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=609449&r1=609448&r2=609449&view=diff
==============================================================================
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Sun Jan  6 14:31:10 2008
@@ -47,12 +47,6 @@
   -1:
    0: fhanik, this needs to be reworked completely, so I'm neutral
 
-* Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=43236
-  Reset usingWriter and associated flags when response is reset
-  http://svn.apache.org/viewvc?rev=605364&view=rev
-  +1: markt, pero, fhanik
-  -1: 
-
 * Fix CVE-2007-5342
   JULI permissions need to be restricted
   http://svn.apache.org/viewvc?rev=606594&view=rev



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