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 b98e74f517 Additional fix for BZ 69614
b98e74f517 is described below
commit b98e74f517b36929f4208506e5adad22cb767baa
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Mar 19 03:21:50 2025 +0000
Additional fix for BZ 69614
---
java/org/apache/coyote/http2/Stream.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/java/org/apache/coyote/http2/Stream.java
b/java/org/apache/coyote/http2/Stream.java
index e8f0d9481c..ecda8caec8 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -456,6 +456,12 @@ class Stream extends AbstractNonZeroStream implements
HeaderEmitter {
setIncremental(p.getIncremental());
} catch (IOException ioe) {
// Not possible with StringReader
+ } catch (IllegalArgumentException iae) {
+ // Invalid priority header field values should be ignored
+ if (log.isTraceEnabled()) {
+
log.trace(sm.getString("http2Parser.processFramePriorityUpdate.invalid",
getConnectionId(),
+ getIdAsString()), iae);
+ }
}
break;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]