You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by tr...@apache.org on 2004/03/05 06:12:56 UTC

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/common JkInputStream.java

truk        2004/03/04 21:12:56

  Modified:    jk/java/org/apache/jk/common JkInputStream.java
  Log:
  Fix Bugs: 20184 & 24763
  
  - getLen returns the length excluding the header.
  
  Revision  Changes    Path
  1.15      +1 -1      jakarta-tomcat-connectors/jk/java/org/apache/jk/common/JkInputStream.java
  
  Index: JkInputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/JkInputStream.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- JkInputStream.java	24 Feb 2004 08:48:42 -0000	1.14
  +++ JkInputStream.java	5 Mar 2004 05:12:56 -0000	1.15
  @@ -256,7 +256,7 @@
           blen=0;
   
           // No data received.
  -	if( bodyMsg.getLen() <= 4 ) { // just the header
  +	if( bodyMsg.getLen() == 0 ) { // just the header
               // Don't mark 'end of stream' for the first chunk.
               // end_of_stream = true;
   	    return false;
  
  
  

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