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 f13617d406 Additional comments
f13617d406 is described below
commit f13617d4067d163cf8da971db12d8a4e9c82760e
Author: Mark Thomas <[email protected]>
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 f89648fdb8..b99727536f 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 714470c7ee..4ac67284e3 100644
--- a/java/org/apache/coyote/http2/Http2UpgradeHandler.java
+++ b/java/org/apache/coyote/http2/Http2UpgradeHandler.java
@@ -585,6 +585,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: [email protected]
For additional commands, e-mail: [email protected]