You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by li...@apache.org on 2022/10/21 09:49:37 UTC
[tomcat] branch 10.0.x updated: Note that maxHttpHeaderSize always allocates the max size
This is an automated email from the ASF dual-hosted git repository.
lihan pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new efd0ff4ffa Note that maxHttpHeaderSize always allocates the max size
efd0ff4ffa is described below
commit efd0ff4ffaeee1e5a7459ab064437b4a0bb2a1a5
Author: Jordan Christiansen <jo...@target.com>
AuthorDate: Wed Oct 12 14:08:40 2022 -0500
Note that maxHttpHeaderSize always allocates the max size
---
webapps/docs/config/http.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/webapps/docs/config/http.xml b/webapps/docs/config/http.xml
index af2911f42c..0e9baf4116 100644
--- a/webapps/docs/config/http.xml
+++ b/webapps/docs/config/http.xml
@@ -535,6 +535,11 @@
the request line, header names and header values. If not specified, this
attribute is set to the value of the <code>maxHttpHeaderSize</code>
attribute.</p>
+ <p>If you see "Request header is too large" errors you can increase this,
+ but be aware that Tomcat will allocate the full amount you specify for
+ every request. For example, if you specify a maxHttpRequestHeaderSize of
+ 1 MB and your application handles 100 concurrent requests, you will see
+ 100 MB of heap consumed by request headers.</p>
</attribute>
<attribute name="maxHttpResponseHeaderSize" required="false">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org