This is an automated email from the ASF dual-hosted git repository.

markt-asf 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 c20d335c91 DATA frame on a stream that has already been reset is a 
connection error
c20d335c91 is described below

commit c20d335c91c6ca4501373d8ab5c618aed1b0606f
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 338e82a97e..dfe19562ee 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]

Reply via email to