tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zsolt Koppany ...@intland.com>
Subject Re: Bug report
Date Wed, 17 Jan 2001 17:57:57 GMT
The problem happens at the <FRAME SRC=servlet....>. After changing 2048
to 10240, IE and Netscape work correctly.
Additionaly: in the tomcat source code I do see that it is tried  to
increase the buffer, but it just does not work.


Geoff Lane wrote:
> 
> Does this happen on both a POST and a GET?
> That 2048 limit is Netscape limit for GETs I think also (if I recall
> correctly).
> Does seem like a potential problem though . . .
> 
> Zsolt Koppany wrote:
> >
> > Hi,
> >
> > I use tomcat-3.2.1 under Linux and found probably a bug. When the
> > request is longer then 2048 bytes tomcat produces an
> > ArroyIndexOutOfBoundExceptions in HttpRequestAdapter.parseHeaderFiled.
> > After I changed bufSize = 2048 to 10240 the error does not appear (my
> > request is shorter).
> > I tried to fix the problem in  HttpRequestAdapter.readHeader where the
> > "buf" array should be reallocated, but I found no working solution.
> >
> > Do you have any better ideas?
> >
> > --
> > Zsolt Koppany
> > Intland GmbH www.intland.com
> > Schulze-Delitzsch-Strasse 16
> > D-70565 Stuttgart
> > Tel: +49-711-7871080 Fax: +49-711-7871017
> 
> --
> -------------------------------------------
> Geoff Lane              <glane@inclusion.net>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

Mime
View raw message