This is an automated email from the ASF dual-hosted git repository.

lihan pushed a commit to branch main
in repository

The following commit(s) were added to refs/heads/main by this push:
     new cbae167168 Note that maxHttpHeaderSize always allocates the max size
cbae167168 is described below

commit cbae1671687d29e63d5e2f3cc54f0a24671e0855
Author: Jordan Christiansen <>
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 61413829cb..306b5e084e 100644
--- a/webapps/docs/config/http.xml
+++ b/webapps/docs/config/http.xml
@@ -525,6 +525,11 @@
       the request line, header names and header values. If not specified, this
       attribute is set to the value of the <code>maxHttpHeaderSize</code>
+      <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 name="maxHttpResponseHeaderSize" required="false">

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to