If you are not using AJP, then Tomcat 6.0 Connectors has a nice maxHttpHeaderSize attribute in server.xml . But if you use AJP, this attribute is not understood. Is there a way to increase the allowed size of the HTTP header if you are writing an application using AJP?
( maxHttpHeaderSize documented at http://tomcat.apache.org/tomcat-6.0-doc/config/http.html , but this document also has: "If you want to configure the Connector, which is used to connect to web servers using AJP protocol (for example, for the mod_jk 1.2.x connector for Apache 1.3), see here. The βlink hereβ points to http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html , where maxHttpHeaderSize excluded from the list of attributes.)
Trott source share