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:17 UTC
[tomcat] branch 9.0.x 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 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new ae1e384073 Make max HTTP header size descriptions more specific
ae1e384073 is described below
commit ae1e384073cacd27d761b44bb6e29174bcfffa68
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 8d150c2a5e..0f63acc72c 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -159,6 +159,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 e01a8666e3..fb311aa849 100644
--- a/webapps/docs/config/http.xml
+++ b/webapps/docs/config/http.xml
@@ -514,20 +514,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