On Wed, 2008-02-27 at 16:04 -0700, Filip Hanik - Dev Lists wrote:
> Remy Maucherat wrote:
> >> unfortunately, the "elegant" solution caused a regression :(
> >> http://issues.apache.org/bugzilla/show_bug.cgi?id=44494
> >> I tested this with the inelegant (original proposed) patch and it
> >> worked 
> >> fine, so I'm gonna fix this in trunk and propose the patch to 6.0
> >>     
> >
> > Ok, and there's no time to think ? A patch must be applied within
> the
> > next 5 seconds ? (probably because it was not your patch, I
> assume :) )
> >   
> and lets cut the crap with the 5 second bs, I worked on this last
> night, 
> and then again this morning when I saw how complicated the new patch
> had 
> gotten and there was a very easy fix.

I'm looking your stacktrace which is supposedly:
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.ArrayIndexOutOfBoundsException: 8192
        at
org.apache.tomcat.util.buf.CharChunk.substract(CharChunk.java:388)
        at
org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:368)
        at
org.apache.catalina.connector.CoyoteReader.read(CoyoteReader.java:93)

This makes me think there's a straight issue in CharChunk (I suppose the
problem is that realReadChars gets called with len = 0; if it handled
that scenario, things should be fine).

Rémy



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

Reply via email to