remm 2003/10/17 01:08:31 Modified: util/java/org/apache/tomcat/util/buf CharChunk.java Log: - Apply Bill's trick. Revision Changes Path 1.10 +1 -1 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf/CharChunk.java Index: CharChunk.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf/CharChunk.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- CharChunk.java 16 Oct 2003 23:53:03 -0000 1.9 +++ CharChunk.java 17 Oct 2003 08:08:31 -0000 1.10 @@ -294,7 +294,7 @@ // Optimize on a common case. // If the source is going to fill up all the space in buffer, may // as well write it directly to the output, and avoid an extra copy - if ( len == limit && end == 0) { + if ( len == limit && end == start) { out.realWriteChars( src, off, len ); return; }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]