tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From glau_pldm <>
Subject Re: URL Exceeding maxHttpHeaderSize
Date Thu, 27 May 2010 17:37:27 GMT

Here is my connector configuration:

<Connector port="8080" protocol="HTTP/1.1" 
               maxHttpHeaderSize="8192" />

I'm using Tomcat 6.0.14

The connection doesn't hang but the reply is empty.  Here is the detailed
output from cURL:
* Empty reply from server
* Connection #0 to host localhost left intact
curl: (52) Empty reply from server
* Closing connection #0

I tested a few URI lengths.  First I tested a URI around 7K in length but
under 8K, which worked.  Then I tested a URI slightly above 8K and that did
not work.  When I change the connector to allow a larger HTTP header size of
16k then 8K works as expected.

I'm wondering if this behavior can be reproduced on another Tomcat deploy or
if this behavior is localized to my configuration.

Christopher Schultz-2 wrote:
> What does happen? Does the connection hang and finally time out? Do you
> get any information in the log files?
> What size Request-URI are you trying to send? An example would really
> help. So would your exact version of Tomcat.
> Can you post the rest of your <Connector> configuration, too?
> - -chris

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message