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

markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new d924da7f4c Another fix for HTTP/2 5.1 test
d924da7f4c is described below

commit d924da7f4ce210cdcefd34ff9d547343c589cc01
Author: Mark Thomas <[email protected]>
AuthorDate: Sat Nov 7 13:59:20 2026 +0000

    Another fix for HTTP/2 5.1 test
    
    Co-authored by: Claude / Sonnet 5.5
---
 java/org/apache/coyote/http2/Stream.java             | 5 +++++
 java/org/apache/coyote/http2/StreamStateMachine.java | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/java/org/apache/coyote/http2/Stream.java 
b/java/org/apache/coyote/http2/Stream.java
index d5dd1f0127..a442468bd7 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -986,6 +986,11 @@ class Stream extends AbstractNonZeroStream implements 
HeaderEmitter {
     }
 
 
+    boolean canReset() {
+        return state.canReset();
+    }
+
+
     StreamException getResetException() {
         return streamOutputBuffer.reset;
     }
diff --git a/java/org/apache/coyote/http2/StreamStateMachine.java 
b/java/org/apache/coyote/http2/StreamStateMachine.java
index 70ff971190..469cce99b3 100644
--- a/java/org/apache/coyote/http2/StreamStateMachine.java
+++ b/java/org/apache/coyote/http2/StreamStateMachine.java
@@ -131,6 +131,11 @@ class StreamStateMachine {
     }
 
 
+    final synchronized boolean canReset() {
+        return state.canReset();
+    }
+
+
     final synchronized boolean isActive() {
         return state.isActive();
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to