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

remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 922782e60e maxTrailerSize can no longer be -1 after refactoring
922782e60e is described below

commit 922782e60edc31bae1750a36b8b2c0b2b92d7baf
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 a092d2b553..a66dce58cc 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -124,6 +124,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 86d93ce27d..80ad9ef769 100644
--- a/webapps/docs/config/http.xml
+++ b/webapps/docs/config/http.xml
@@ -587,8 +587,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

Reply via email to