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 3ffd8fa3f7 Additional comments 3ffd8fa3f7 is described below commit 3ffd8fa3f7ac8fcabd8533285682f5534bab1d20 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu May 29 18:47:42 2025 +0100 Additional comments --- java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java | 1 + java/org/apache/coyote/http2/Http2UpgradeHandler.java | 1 + 2 files changed, 2 insertions(+) diff --git a/java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java b/java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java index 747667cfde..f8f2009942 100644 --- a/java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java +++ b/java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java @@ -133,6 +133,7 @@ public class Http2AsyncUpgradeHandler extends Http2UpgradeHandler { se.getError(), se.getMessage())); } + // Treat a sent reset like a received reset and increment the overhead count increaseOverheadCount(FrameType.RST, getProtocol().getOverheadResetFactor()); // Write a RST frame diff --git a/java/org/apache/coyote/http2/Http2UpgradeHandler.java b/java/org/apache/coyote/http2/Http2UpgradeHandler.java index 93847c1b5a..0b56066050 100644 --- a/java/org/apache/coyote/http2/Http2UpgradeHandler.java +++ b/java/org/apache/coyote/http2/Http2UpgradeHandler.java @@ -584,6 +584,7 @@ class Http2UpgradeHandler extends AbstractStream implements InternalHttpUpgradeH se.getError(), se.getMessage())); } + // Treat a sent reset like a received reset and increment the overhead count increaseOverheadCount(FrameType.RST, getProtocol().getOverheadResetFactor()); // Write a RST frame --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org