Setting Max HTTP Header Size With AJP / Tomcat 6.0

后端 未结 1 836
余生分开走
余生分开走 2021-01-12 16:11

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

相关标签:
1条回答
  • 2021-01-12 16:49

    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.

    0 讨论(0)
提交回复
热议问题