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/tomcat4 CoyoteResponse.java CoyoteWriter.java
Date Thu, 19 Dec 2002 08:59:50 GMT
remm        2002/12/19 00:59:50

  Modified:    coyote/src/java/org/apache/coyote/tomcat4
                        CoyoteResponse.java CoyoteWriter.java
  Log:
  - Properly recycle writer after an error.
  
  Revision  Changes    Path
  1.31      +6 -4      jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java
  
  Index: CoyoteResponse.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- CoyoteResponse.java	4 Dec 2002 17:43:05 -0000	1.30
  +++ CoyoteResponse.java	19 Dec 2002 08:59:50 -0000	1.31
  @@ -320,6 +320,8 @@
               facade = null;
           }
   
  +        writer.recycle();
  +
       }
   
   
  
  
  
  1.3       +11 -0     jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteWriter.java
  
  Index: CoyoteWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteWriter.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CoyoteWriter.java	20 Nov 2002 13:47:58 -0000	1.2
  +++ CoyoteWriter.java	19 Dec 2002 08:59: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