TCK correction, depending on the sequence of the tests, the converter turns out to...
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 20 Nov 2006 16:47:03 +0000 (16:47 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 20 Nov 2006 16:47:03 +0000 (16:47 +0000)
Added in a check to create the converter even when getting the output stream.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@477251 13f79535-47bb-0310-9956-ffa450edef68

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

index 4ab3c72..78ab704 100644 (file)
@@ -574,6 +574,7 @@ public class Response
                 (sm.getString("coyoteResponse.getOutputStream.ise"));
 
         usingOutputStream = true;
+        outputBuffer.checkConverter();
         if (outputStream == null) {
             outputStream = new CoyoteOutputStream(outputBuffer);
         }