tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r477251 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/Response.java
Date Mon, 20 Nov 2006 16:47:04 GMT
Author: fhanik
Date: Mon Nov 20 08:47:03 2006
New Revision: 477251

URL: http://svn.apache.org/viewvc?view=rev&rev=477251
Log:
TCK correction, depending on the sequence of the tests, the converter turns out to be null
at certain times.
Added in a check to create the converter even when getting the output stream.


Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/Response.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/Response.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/Response.java?view=diff&rev=477251&r1=477250&r2=477251
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/Response.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/connector/Response.java Mon Nov 20 08:47:03
2006
@@ -574,6 +574,7 @@
                 (sm.getString("coyoteResponse.getOutputStream.ise"));
 
         usingOutputStream = true;
+        outputBuffer.checkConverter();
         if (outputStream == null) {
             outputStream = new CoyoteOutputStream(outputBuffer);
         }



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


Mime
View raw message