remm        2003/03/28 05:57:56

  Modified:    coyote/src/java/org/apache/coyote/tomcat5
                        CoyoteResponse.java
  Log:
  - Fix dumb bug (when c-l is not set; oops).
  
  Revision  Changes    Path
  1.22      +6 -5      
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.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- CoyoteResponse.java       27 Mar 2003 22:36:21 -0000      1.21
  +++ CoyoteResponse.java       28 Mar 2003 13:57:55 -0000      1.22
  @@ -365,7 +365,8 @@
        */
       public boolean isAppCommitted() {
           return (this.appCommitted || isCommitted() || isSuspended()
  -                || (getContentCount() >= getContentLength()));
  +                || ((getContentLength() != -1) 
  +                    && (getContentCount() >= getContentLength())));
       }
   
   
  
  
  

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

Reply via email to