tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5 CoyoteResponse.java CoyoteWriter.java
Date Thu, 19 Dec 2002 09:08:50 GMT
remm        2002/12/19 01:08:50

  Modified:    coyote/src/java/org/apache/coyote/tomcat5
                        CoyoteResponse.java CoyoteWriter.java
  Log:
  - Properly recycle writer after an error.
  
  Revision  Changes    Path
  1.16      +7 -4      jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteResponse.java
  
  Index: CoyoteResponse.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteResponse.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- CoyoteResponse.java	4 Dec 2002 17:42:31 -0000	1.15
  +++ CoyoteResponse.java	19 Dec 2002 09:08:50 -0000	1.16
  @@ -332,6 +332,9 @@
               facade.clear();
               facade = null;
           }
  +
  +        writer.recycle();
  +
       }
   
   
  
  
  
  1.3       +11 -0     jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteWriter.java
  
  Index: CoyoteWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat5/CoyoteWriter.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CoyoteWriter.java	20 Nov 2002 13:47:48 -0000	1.2
  +++ CoyoteWriter.java	19 Dec 2002 09:08:50 -0000	1.3
  @@ -96,6 +96,17 @@
       }
   
   
  +    // -------------------------------------------------------- Package Methods
  +
  +
  +    /**
  +     * Recycle.
  +     */
  +    void recycle() {
  +        error = false;
  +    }
  +
  +
       // --------------------------------------------------------- Writer Methods
   
   
  
  
  

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


Mime
View raw message