This is an automated email from the ASF dual-hosted git repository. remm 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 5079f614dd maxTrailerSize can no longer be -1 after refactoring 5079f614dd is described below commit 5079f614dd45723c2d077a6c2562ac5c18c93c14 Author: remm <r...@apache.org> AuthorDate: Tue Jun 25 10:12:26 2024 +0200 maxTrailerSize can no longer be -1 after refactoring --- webapps/docs/changelog.xml | 5 +++++ webapps/docs/config/http.xml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 8248679a4d..9ed6fd0827 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -126,6 +126,11 @@ triggered if <code>AsyncListener.onError()</code> dispatches to a target that throws an exception. (markt) </fix> + <fix> + Following the trailer header field refactoring, <code>-1</code> is no + longer an allowed value for <code>maxTrailerSize</code>. Adjust + documentation accordingly. (remm) + </fix> </changelog> </subsection> <subsection name="Jasper"> diff --git a/webapps/docs/config/http.xml b/webapps/docs/config/http.xml index dd5944b63a..e591e9fc6d 100644 --- a/webapps/docs/config/http.xml +++ b/webapps/docs/config/http.xml @@ -593,8 +593,8 @@ <attribute name="maxTrailerSize" required="false"> <p>Limits the total length of trailing headers in the last chunk of - a chunked HTTP request. If the value is <code>-1</code>, no limit will be - imposed. If not specified, the default value of <code>8192</code> will be + a chunked HTTP request. This must be a positive integer value. + If not specified, the default value of <code>8192</code> will be used.</p> </attribute> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org