This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 d0c737a958 DATA frame on a stream that has already been reset is a
connection error
d0c737a958 is described below
commit d0c737a9586cb794175a13e2c31fa124dac089d0
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Nov 11 20:48:35 2026 +0000
DATA frame on a stream that has already been reset is a connection error
As per RFC 9113, section 5.1.
Pull request <pr>1129</pr> provided by Arturo Bernal
---
test/org/apache/coyote/http2/TestHttp2Section_5_1.java | 1 -
webapps/docs/changelog.xml | 5 +++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
b/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
index fea6b584f7..24f3c03f3a 100644
--- a/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
+++ b/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
@@ -169,7 +169,6 @@ public class TestHttp2Section_5_1 extends Http2TestBase {
// Then try sending some data (which should fail)
sendData(3, new byte[] {});
- parser.readFrame();
Assert.assertTrue(output.getTrace(),
output.getTrace().startsWith("3-RST-[" +
Http2Error.STREAM_CLOSED.getCode() + "]"));
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 42cf94e02f..6c3f22c593 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -123,6 +123,11 @@
counts and hit counts as <code>long</code> rather than
<code>int</code>.
(markt)
</fix>
+ <fix>
+ Receiving an HTTP/2 <code>DATA</code> frame on a stream that has
already
+ 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>
</changelog>
</subsection>
<subsection name="Jasper">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]