You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rpc-dev@xml.apache.org by Hannes Wallnöfer <ha...@helma.at> on 2002/03/06 12:56:50 UTC
Re: HTTP Header too long error, PLEASE HELP!
Obviously the 512 byte limit is to short.
Any idea what a good assumption would be for the maximum size of a
single HTTP header?
1k? 2k?
Hannes
Lin, Yaxiong wrote:
>I am getting the "HTTP Header too long" error on the WebServer (running on
>NT) when processing request from the client runing on zOS. The same client
>java app running on NT does not cause this error on the same WebServer.
>
>I looked at the source code (WebServer.java), the IOException (HTTP Header
>too long) is thrown when the buffer size is > 512.
>
>My question is: why the same java client code causes the buffer overflow on
>the same WebServer (on NT) when run on the zOS (IBM) but not when run on NT?
>And how do I get around this problem?
>
>
>Thanks in advance for the help.
>
>- Yaxiong Lin
> Mayo Clinic
> Rochester, MN 55905
>
Re: HTTP Header too long error, PLEASE HELP!
Posted by Jon Scott Stevens <jo...@latchkey.com>.
on 3/6/02 3:56 AM, "Hannes Wallnöfer" <ha...@helma.at> wrote:
> Any idea what a good assumption would be for the maximum size of a
> single HTTP header?
> 1k? 2k?
>
> Hannes
Look at what Apache httpd does...or even Tomcat's httpd.
-jon
Re: HTTP Header too long error, PLEASE HELP!
Posted by Jon Scott Stevens <jo...@latchkey.com>.
on 3/6/02 3:56 AM, "Hannes Wallnöfer" <ha...@helma.at> wrote:
> Any idea what a good assumption would be for the maximum size of a
> single HTTP header?
> 1k? 2k?
>
> Hannes
Look at what Apache httpd does...or even Tomcat's httpd.
-jon