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 d0210f1fee Additional comments d0210f1fee is described below commit d0210f1feea97a50535e390c5cf2561a0fb1a7de 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 9f72b33ef8..3b976f20ca 100644 --- a/java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java +++ b/java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java @@ -132,6 +132,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 68220da92f..558da4f303 100644 --- a/java/org/apache/coyote/http2/Http2UpgradeHandler.java +++ b/java/org/apache/coyote/http2/Http2UpgradeHandler.java @@ -582,6 +582,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