Fix bug 43236. Reset the usingWriter and associated flags when the response is reset.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 18 Dec 2007 23:46:19 +0000 (23:46 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 18 Dec 2007 23:46:19 +0000 (23:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@605364 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/connector/Response.java

index eae9a69..edea82f 100644 (file)
@@ -657,6 +657,9 @@ public class Response
 
         coyoteResponse.reset();
         outputBuffer.reset();
+        usingOutputStream = false;
+        usingWriter = false;
+        isCharacterEncodingSet = false;
     }