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

remm 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 90dcf26ddb maxTrailerSize can no longer be -1 after refactoring
90dcf26ddb is described below

commit 90dcf26ddb64eb50ee5a97c6a49e25a4091769a4
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 97770e93e4..b8375abefe 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -136,6 +136,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 0b90338156..da15b3900a 100644
--- a/webapps/docs/config/http.xml
+++ b/webapps/docs/config/http.xml
@@ -573,8 +573,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