On Thu, 2008-02-28 at 01:36 +0100, Remy Maucherat wrote:
> Index: java/org/apache/catalina/connector/InputBuffer.java
> ===================================================================
> ---java/org/apache/catalina/connector/InputBuffer.java        (revision 
> 630535)
> +++java/org/apache/catalina/connector/InputBuffer.java        (working copy)
> @@ -355,7 +355,7 @@
>          }
>  
>          state = CHAR_STATE;
> -        conv.convert(bb, cb, len);
> +        conv.convert(bb, cb, bb.getLength());
>          bb.setOffset(bb.getEnd());
>  
>          return cb.getLength();
This seems to work for me. It should be equivalent to the value returned
by the available method, since the value passed is the same (it is the
amount of bytes which have been read).

Rémy



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to