If you\'re not using AJP, Tomcat 6.0 Connectors have a nice maxHttpHeaderSize
attribute in server.xml
. But if you are using AJP, that attribute is
The AJP protocol is packet oriented, and in the Basic Packet Structure section of mod_proxy_ajp
it says:
According to much of the code, the max packet size is 8 * 1024 bytes (8K). The actual length of the packet is encoded in the header.
Send Headers
has a packet code of 4, so it appears all the headers need to fit in a single packet with a 8k limit. However, if How to set the AJP packet size in Tomcat? is correct, you can increase that limit.