Hi Bill,
can it be that your checkin is not the last working version?
The class CharChunk has only a method getBuffer()
Regards
Peter
Am 27.08.2007 um 05:38 schrieb [EMAIL PROTECTED]:
Author: billbarker
Date: Sun Aug 26 20:38:45 2007
New Revision: 569970
URL: http://svn.apache.org/viewvc?rev=569970&view=rev
Log:
Change B2C to only add up to the limit on the CB, and use the sinks
to the BC to request all data.
Modified:
tomcat/connectors/trunk/util/java/org/apache/tomcat/util/buf/
B2CConverter.java
tomcat/connectors/trunk/util/java/org/apache/tomcat/util/buf/
CharChunk.java
Modified: tomcat/connectors/trunk/util/java/org/apache/tomcat/util/
buf/B2CConverter.java
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/util/java/
org/apache/tomcat/util/buf/B2CConverter.java?
rev=569970&r1=569969&r2=569970&view=diff
======================================================================
========
--- tomcat/connectors/trunk/util/java/org/apache/tomcat/util/buf/
B2CConverter.java (original)
+++ tomcat/connectors/trunk/util/java/org/apache/tomcat/util/buf/
B2CConverter.java Sun Aug 26 20:38:45 2007
@@ -72,18 +72,28 @@
public void convert( ByteChunk bb, CharChunk cb )
throws IOException
{
+ convert(bb, cb, cb.getBuff().length - cb.getEnd());
+ }
+
+ /** Convert a buffer of bytes into a chars
+ */
+ public void convert( ByteChunk bb, CharChunk cb, int limit)
+ throws IOException
CharChunk