Yaxiong,

I'm sorry I can't put the current code up for download. You have two 
options:

- Get it via anonymous CVS as described here 
  http://xml.apache.org/cvs.html

- Or just make the modification to the 1.0 distribution (just replace 
512 with 2048 twice - when the byte array is instanciated and when it is 
checked for overflow).

In both cases you'll need Ant to build new jar files:
  http://jakarta.apache.org/ant/

Good luck,

Hannes


Lin, Yaxiong wrote:

>Hannes:
>
>I have never used CVS myself.  Do I need to wait till the next built or is
>there a distribution zip file I can download?
>
>Thanks.
>
>- Yaxiong
>
>>-----Original Message-----
>>From: Hannes Walln�fer [SMTP:[EMAIL PROTECTED]]
>>Sent: Wednesday, March 06, 2002 9:56 AM
>>To:   [EMAIL PROTECTED]
>>Subject:      Re: HTTP Header too long error, PLEASE HELP!
>>
>>I just increased the buffer size from 512 to 2048 bytes. If you use the 
>>latest version from the CVS, you shouldn't see this error again (unless 
>>your client sends some abnormally large HTTP header).
>>
>>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
>>>
>>



Reply via email to