remm        02/02/21 14:19:21

  Modified:    catalina/src/share/org/apache/catalina/connector/http Tag:
                        tomcat_40_branch HttpResponseImpl.java
  Log:
  - Port fix for 6201.
    - Using setAllowChunking here is redundant, and will cause a HTTP bug where
      the tr-enc: chunked header won't be removed in some cases, which would end
      up generating a bad request.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.1  +4 -5      
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpResponseImpl.java
  
  Index: HttpResponseImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpResponseImpl.java,v
  retrieving revision 1.11
  retrieving revision 1.11.2.1
  diff -u -r1.11 -r1.11.2.1
  --- HttpResponseImpl.java     8 Aug 2001 19:26:07 -0000       1.11
  +++ HttpResponseImpl.java     21 Feb 2002 22:19:21 -0000      1.11.2.1
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpResponseImpl.java,v
 1.11 2001/08/08 19:26:07 pier Exp $
  - * $Revision: 1.11 $
  - * $Date: 2001/08/08 19:26:07 $
  + * $Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpResponseImpl.java,v
 1.11.2.1 2002/02/21 22:19:21 remm Exp $
  + * $Revision: 1.11.2.1 $
  + * $Date: 2002/02/21 22:19:21 $
    *
    * ====================================================================
    *
  @@ -79,7 +79,7 @@
    *
    * @author Craig R. McClanahan
    * @author <a href="mailto:[EMAIL PROTECTED]";>Remy Maucherat</a>
  - * @version $Revision: 1.11 $ $Date: 2001/08/08 19:26:07 $
  + * @version $Revision: 1.11.2.1 $ $Date: 2002/02/21 22:19:21 $
    */
   
   final class HttpResponseImpl
  @@ -179,7 +179,6 @@
        */
       public void sendError(int status, String message) throws IOException {
   
  -        setAllowChunking(false);
           addHeader("Connection", "close");
           super.sendError(status, message);
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to