This is an automated email from the ASF dual-hosted git repository. markt 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 a01d212960 Handle errors consistently a01d212960 is described below commit a01d2129607675198cdf65a6edcceb199f75ae35 Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Nov 8 13:55:37 2023 +0000 Handle errors consistently No functional change as trailer headers are read after the body. --- java/org/apache/coyote/http11/filters/ChunkedInputFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java b/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java index 3e844afb11..ebcc0d24f9 100644 --- a/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java +++ b/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java @@ -499,7 +499,7 @@ public class ChunkedInputFilter implements InputFilter, ApplicationBufferHandler colon = true; } else if (!HttpParser.isToken(chr)) { // Non-token characters are illegal in header names - throw new IOException(sm.getString("chunkedInputFilter.invalidTrailerHeaderName")); + throwIOException(sm.getString("chunkedInputFilter.invalidTrailerHeaderName")); } else { trailingHeaders.append(chr); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org