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/http11/src/java/org/apache/coyote/http11 InternalInputBuffer.java
Date Tue, 05 Nov 2002 16:26:38 GMT
remm        2002/11/05 08:26:38

  Modified:    http11/src/java/org/apache/coyote/http11
                        InternalInputBuffer.java
  Log:
  - I think a 0 result is an error according to the JVM javadocs (we are using
    InputStream.read(byte[], int, int)).
  
  Revision  Changes    Path
  1.16      +4 -4      jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/InternalInputBuffer.java
  
  Index: InternalInputBuffer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/InternalInputBuffer.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- InternalInputBuffer.java	9 Apr 2002 18:35:54 -0000	1.15
  +++ InternalInputBuffer.java	5 Nov 2002 16:26:38 -0000	1.16
  @@ -781,7 +781,7 @@
   
           }
   
  -        return (nRead >= 0);
  +        return (nRead > 0);
   
       }
   
  
  
  

--
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