Hannes:
I am not technical enough in this area to make a suggestion on the header length limit. I will leave this to those who are more technically talented people than me to contribute. Thanks. - Yaxiong > -----Original Message----- > From: Hannes Wallnöfer [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, March 06, 2002 5:57 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: 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 > > > >