aooohan commented on code in PR #556:
URL: https://github.com/apache/tomcat/pull/556#discussion_r1001286110


##########
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>
       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>

Review Comment:
   It doesn't affect the understanding, but it's not quite accurate, the buffer 
will actually be larger than 100MB due to some additional margins being taken 
into account



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to