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:45:41 GMT
remm        00/10/07 11:45:41

  Modified:    catalina/src/share/org/apache/catalina/connector
                        HttpResponseBase.java
  Log:
  - The response is now committed after sending the headers. Thanks for the
    suggestion Craig.
  
  Revision  Changes    Path
  1.13      +7 -5      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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- HttpResponseBase.java	2000/10/07 18:37:37	1.12
  +++ HttpResponseBase.java	2000/10/07 18:45:40	1.13
  @@ -1,7 +1,7 @@
   /*
  - * $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 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/HttpResponseBase.java,v
1.13 2000/10/07 18:45:40 remm Exp $
  + * $Revision: 1.13 $
  + * $Date: 2000/10/07 18:45:40 $
    *
    * ====================================================================
    *
  @@ -96,7 +96,7 @@
    * methods need to be implemented.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.12 $ $Date: 2000/10/07 18:37:37 $
  + * @version $Revision: 1.13 $ $Date: 2000/10/07 18:45:40 $
    */
   
   public class HttpResponseBase
  @@ -169,7 +169,6 @@
       public void finishResponse() throws IOException {
   
           sendHeaders();
  -        committed = true;
           super.finishResponse();
   
       }
  @@ -533,6 +532,9 @@
   	// Send a terminating blank line to mark the end of the headers
   	outputWriter.print("\r\n");
   	outputWriter.flush();
  +
  +        // The response is now committed
  +        committed = true;
   
       }
   
  
  
  

Mime
View raw message