You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/05/26 10:54:05 UTC
[tomcat] branch main updated: Make max HTTP header size descriptions more specific
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 8acd6e3c8f Make max HTTP header size descriptions more specific
8acd6e3c8f is described below
commit 8acd6e3c8f045ff9f73f32d89b16883886b44c4d
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu May 26 11:53:41 2022 +0100
Make max HTTP header size descriptions more specific
---
webapps/docs/changelog.xml | 5 +++++
webapps/docs/config/http.xml | 24 ++++++++++++++++--------
2 files changed, 21 insertions(+), 8 deletions(-)
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 4236cc02a7..81da073f1b 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -180,6 +180,11 @@
application to reflect changes in required Java version and source
repository. (markt)
</fix>
+ <fix>
+ Documentation. Make the description of the HTTP/1.1 configuration
+ attributes that control the maximum allowed HTTP header size more
+ specific. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Tribes">
diff --git a/webapps/docs/config/http.xml b/webapps/docs/config/http.xml
index ea10297737..7eb6a727d4 100644
--- a/webapps/docs/config/http.xml
+++ b/webapps/docs/config/http.xml
@@ -508,20 +508,28 @@
</attribute>
<attribute name="maxHttpHeaderSize" required="false">
- <p>The maximum size of the request and response HTTP header, specified
- in bytes. If not specified, this attribute is set to 8192 (8 KB).</p>
+ <p>Provides the default value for
+ <strong>maxHttpRequestHeaderSize</strong> and
+ <strong>maxHttpResponseHeaderSize</strong>. If not specified, this
+ attribute is set to 8192 (8 KB).</p>
</attribute>
<attribute name="maxHttpRequestHeaderSize" required="false">
- <p>The maximum size of the request HTTP header, specified
- in bytes. If not specified, this attribute is set to the value of
- the <code>maxHttpHeaderSize</code> attribute.</p>
+ <p>The maximum permitted size of the request line and headers associated
+ with an HTTP request, specified in bytes. This is compared to the number
+ of bytes received so includes line terminators and whitespace as well as
+ 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>
</attribute>
<attribute name="maxHttpResponseHeaderSize" required="false">
- <p>The maximum size of the response HTTP header, specified
- in bytes. If not specified, this attribute is set to the value of
- the <code>maxHttpHeaderSize</code> attribute.</p>
+ <p>The maximum permitted size of the response line and headers associated
+ with an HTTP response, specified in bytes. This is compared to the number
+ of bytes written so includes line terminators and whitespace as well as
+ the status line, header names and header values. If not specified, this
+ attribute is set to the value of the <code>maxHttpHeaderSize</code>
+ attribute.</p>
</attribute>
<attribute name="maxKeepAliveRequests" required="false">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org