Tomcat 6.0.x 配置HTTP

发布于 2024-09-16 07:05:15 字数 139 浏览 3 评论 0原文

我需要在 HTTP 连接器上配置默认的 maxHttpHeaderSize,但我看不到在哪里配置它。我相信它应该在 coyote 连接器下,但只能在 server.xml 中找到 catalina 属性。有人可以告诉我在哪里正确配置它,我可以增加标头的默认大小吗?

I need to configure the default maxHttpHeaderSize on the HTTP connector and I cant see where to configure it. I believe it should be under the coyote connector but can only find the catalina attribute in the server.xml. Can someone edify me where to properly configure this to I can increase the default size of the header?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦在夏天 2024-09-23 07:05:15

从 Tomcat 6 文档中, http://tomcat.apache.org/ tomcat-6.0-doc/config/http.html

您可以在已在 中定义的 HTTP/1.1 中配置 maxHttpHeaderSize server.xml 中的 Catalina

From the Tomcat 6 docs, http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

You can configure the maxHttpHeaderSize within the HTTP/1.1 <Connector> already defined within the Catalina <Service> in server.xml

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文