Author: remy.maucherat(a)jboss.com
Date: 2008-02-28 10:38:38 -0500 (Thu, 28 Feb 2008)
New Revision: 454
Modified:
trunk/java/org/apache/catalina/connector/InputBuffer.java
Log:
- Always convert up to the amount of bytes which have been read.
Modified: trunk/java/org/apache/catalina/connector/InputBuffer.java
===================================================================
--- trunk/java/org/apache/catalina/connector/InputBuffer.java 2008-02-27 21:44:34 UTC (rev
453)
+++ trunk/java/org/apache/catalina/connector/InputBuffer.java 2008-02-28 15:38:38 UTC (rev
454)
@@ -378,7 +378,7 @@
}
state = CHAR_STATE;
- conv.convert(bb, cb, len);
+ conv.convert(bb, cb, bb.getLength());
bb.setOffset(bb.getEnd());
return cb.getLength();
Show replies by date