You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bi...@apache.org on 2004/10/15 06:42:25 UTC

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

billbarker    2004/10/14 21:42:25

  Modified:    jk/java/org/apache/jk/common ChannelJni.java
  Log:
  Make the message properly empty for the first part of the POST body.
  
  This is a bit ugly, but then so is the rest of ChannelJni ;-).
  
  Fix for Bug #31722
  
  Revision  Changes    Path
  1.18      +2 -1      jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelJni.java
  
  Index: ChannelJni.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/ChannelJni.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ChannelJni.java	31 May 2004 04:48:54 -0000	1.17
  +++ ChannelJni.java	15 Oct 2004 04:42:25 -0000	1.18
  @@ -71,7 +71,8 @@
                   log.debug("No send() prior to receive(), no data buffer");
               // No sent() was done prior to receive.
               msg.reset();
  -            return 0;
  +            msg.end();
  +            sentResponse = msg;
           }
           
           sentResponse.processHeader();
  
  
  

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