tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@locus.apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector HttpResponseBase.java
Date Sat, 07 Oct 2000 18:37:37 GMT
remm        00/10/07 11:37:37

  Modified:    catalina/src/share/org/apache/catalina/connector
                        HttpResponseBase.java
  Log:
  - Force committed to true after sending the headers. Otherwise, they could
    be sent twice.
  
  Revision  Changes    Path
  1.12      +5 -4      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/HttpResponseBase.java
  
  Index: HttpResponseBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/HttpResponseBase.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- HttpResponseBase.java	2000/10/06 05:10:20	1.11
  +++ HttpResponseBase.java	2000/10/07 18:37:37	1.12
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/HttpResponseBase.java,v
1.11 2000/10/06 05:10:20 craigmcc Exp $
  - * $Revision: 1.11 $
  - * $Date: 2000/10/06 05:10:20 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/HttpResponseBase.java,v
1.12 2000/10/07 18:37:37 remm Exp $
  + * $Revision: 1.12 $
  + * $Date: 2000/10/07 18:37:37 $
    *
    * ====================================================================
    *
  @@ -96,7 +96,7 @@
    * methods need to be implemented.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.11 $ $Date: 2000/10/06 05:10:20 $
  + * @version $Revision: 1.12 $ $Date: 2000/10/07 18:37:37 $
    */
   
   public class HttpResponseBase
  @@ -169,6 +169,7 @@
       public void finishResponse() throws IOException {
   
           sendHeaders();
  +        committed = true;
           super.finishResponse();
   
       }
  
  
  

Mime
View raw message