On Fri, Jun 5, 2026 at 8:31 PM <[email protected]> wrote:
>
> This is an automated email from the ASF dual-hosted git repository.
>
> markt-asf pushed a commit to branch 11.0.x
> in repository https://gitbox.apache.org/repos/asf/tomcat.git
>
>
> The following commit(s) were added to refs/heads/11.0.x by this push:
>      new 78f49d580e Don't unintentionally create a limit on number of trailer 
> headers
> 78f49d580e is described below
>
> commit 78f49d580e54dbf45d7956cbfc5c1d1a356f9b44
> Author: Mark Thomas <[email protected]>
> AuthorDate: Fri Jun 5 19:16:09 2026 +0100
>
>     Don't unintentionally create a limit on number of trailer headers
> ---
>  java/org/apache/coyote/Request.java | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/java/org/apache/coyote/Request.java 
> b/java/org/apache/coyote/Request.java
> index 2a5021d589..8107bd708e 100644
> --- a/java/org/apache/coyote/Request.java
> +++ b/java/org/apache/coyote/Request.java
> @@ -1234,6 +1234,7 @@ public final class Request {
>           * instance.
>           */
>          trailerFields.setLimit(MimeHeaders.DEFAULT_HEADER_SIZE);
> +        trailerFields.setLimit(-1);

Ok, but this looks quite unusual. Hehe.

Rémy

>          serverNameMB.recycle();
>          serverPort = -1;
>          localAddrMB.recycle();
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to