ajp headers 8k limits
时间:2009-07-02 来源:waynewu
Going over the 8K AJP headers limits:
The default size of a AJP package is 8K as the http headers are sent only in the first packet it could be needed to overcome the limit.
To reach this you need to add packetSize parameter in the <Connector/> parameter like:
<Connector port="8009" protocol="AJP/1.3" packetSize="20000" redirectPort="8443" ></Connector>
and ProxyIOBufferSize (also LimitRequestFieldsize probably) directive in httpd.conf too. For example:
ProxyIOBufferSize 19000 LimitRequestFieldsize 18000
packetSize is supported since Tomcat 5.5.21 and Tomcat 6.0.1.
Old version of httpd-2.2.x (x<5) need a patch to support this extension. You find the patch at
http://people.apache.org/~jfclere/patches/ProxyIOBufferSize.patch
相关阅读 更多 +