Here is my connector configuration:

<Connector port="8080" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443"
               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: 
http://old.nabble.com/URL-Exceeding-maxHttpHeaderSize-tp28687322p28697519.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to