> On Jun 5, 2026, at 13:28:04, [email protected] wrote: > > This is an automated email from the ASF dual-hosted git repository. > > markt-asf pushed a commit to branch main > in repository https://gitbox.apache.org/repos/asf/tomcat.git > > commit 906a431240ba2fd797565384460fd7433a81af83 > 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 f9b8fbdec9..8e10da626c 100644 > --- a/java/org/apache/coyote/Request.java > +++ b/java/org/apache/coyote/Request.java > @@ -1149,6 +1149,7 @@ public final class Request { > * instance. > */ > trailerFields.setLimit(MimeHeaders.DEFAULT_HEADER_SIZE); > + trailerFields.setLimit(-1);
Should the first trailerFields.setLimit() call be removed? Or is there something very subtle going on? - Chuck > serverNameMB.recycle(); > serverPort = -1; > localAddrMB.recycle(); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
