gpt4 book ai didi

tomcat7 - 在连接器上设置 maxParameterCount 属性

转载 作者:行者123 更新时间:2023-12-04 16:40:03 25 4
gpt4 key购买 nike

我在 tomcat7 上收到此错误。

INFO: More than the maximum number of request parameters (GET plus POST) for a single request ([10,000]) were detected. Any parameters beyond this limit have been ignored. To change this limit, set the maxParameterCount attribute on the Connector.



谁能告诉我是否可以修改 maxParameterCount如果是这样,如何?

最佳答案

像这样(在文件 server.xml 中):

<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" maxParameterCount="1000000"/>
查找详细信息:
http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
已添加
Tomcat 10 的链接
https://tomcat.apache.org/tomcat-10.0-doc/config/http.html#Common_Attributes

关于tomcat7 - 在连接器上设置 maxParameterCount 属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17105549/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com