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


The following commit(s) were added to refs/heads/main by this push:
     new 7071ee6d65 Review PR #1131. Add a change log entry.
7071ee6d65 is described below

commit 7071ee6d65abe65ca8527adc427e5f320e7d35bc
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Nov 12 11:38:32 2026 +0000

    Review PR #1131. Add a change log entry.
---
 java/org/apache/coyote/http2/Http2UpgradeHandler.java | 2 +-
 webapps/docs/changelog.xml                            | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/Http2UpgradeHandler.java 
b/java/org/apache/coyote/http2/Http2UpgradeHandler.java
index 60c6fad099..b26a2525bc 100644
--- a/java/org/apache/coyote/http2/Http2UpgradeHandler.java
+++ b/java/org/apache/coyote/http2/Http2UpgradeHandler.java
@@ -1974,7 +1974,7 @@ class Http2UpgradeHandler extends AbstractStream 
implements InternalHttpUpgradeH
                     // causes any flow-control window to exceed the maximum 
size is a connection error.
                     throw new ConnectionException(
                             sm.getString("upgradeHandler.windowSizeTooBig", 
connectionId, stream.getIdAsString()),
-                            Http2Error.FLOW_CONTROL_ERROR);
+                            Http2Error.FLOW_CONTROL_ERROR, h2e);
                 }
             }
         } else if (setting == Setting.NO_RFC7540_PRIORITIES) {
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index ba74757457..7571aed108 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -269,6 +269,12 @@
         been reset is now treated as a connection error as per RFC 9113, 
section
         5.1. Pull request <pr>1129</pr> provided by Arturo Bernal. (markt)
       </fix>
+      <fix>
+        Treat a change to <code>SETTINGS_INITIAL_WINDOW_SIZE</code> that causes
+        any flow control window to exceed the maximum size as an HTTP/2
+        connection error as required by RFC 9113, section 6.9.2. Pull request
+        <pr>1131</pr> provided by Arturo Bernal. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Jasper">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to