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

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 1eef1dc459 Additional fix for BZ 69614
1eef1dc459 is described below

commit 1eef1dc459c45f1e421d8bd25ef340fc1cc34edc
Author: Mark Thomas <ma...@apache.org>
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 643689ad4c..9170a3ba0e 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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to