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

markt 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 f619e6a050 Additional fix for BZ 69614
f619e6a050 is described below

commit f619e6a05029538886d5a9d987925d573b5bb8c2
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 27eccd661a..7ebd19dc0b 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -450,6 +450,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