You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2002/07/02 18:55:03 UTC

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

costin      2002/07/02 09:55:03

  Modified:    jk/java/org/apache/jk/common MsgAjp.java
  Log:
  Fix for 10018, use the same size for the buffer as in jk1.
  
  Revision  Changes    Path
  1.12      +2 -1      jakarta-tomcat-connectors/jk/java/org/apache/jk/common/MsgAjp.java
  
  Index: MsgAjp.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/MsgAjp.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- MsgAjp.java	20 Jun 2002 18:47:48 -0000	1.11
  +++ MsgAjp.java	2 Jul 2002 16:55:03 -0000	1.12
  @@ -92,7 +92,8 @@
       private static org.apache.commons.logging.Log log=
           org.apache.commons.logging.LogFactory.getLog( MsgAjp.class );
   
  -    private byte buf[]=new byte[8300];
  +    // that's the original buffer size in ajp13 - otherwise we'll get interoperability problems.
  +    private byte buf[]=new byte[8*1024]; 
       // The current read or write position in the buffer
       private int pos;    
       /**
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>