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

commit 754d07ebdbeeabebab800b5b469227f9e5e013e4
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Oct 2 11:46:51 2024 +0100

    Simplest way to retain formatting
---
 java/org/apache/coyote/http2/Stream.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/java/org/apache/coyote/http2/Stream.java 
b/java/org/apache/coyote/http2/Stream.java
index c8596933be..233293c7b7 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -817,8 +817,11 @@ class Stream extends AbstractNonZeroStream implements 
HeaderEmitter {
      *
      * It is important that this method is not called until any concurrent 
processing for the stream has completed. This
      * is currently achieved by:
+     *
      * - only the StreamProcessor calls this method
+     *
      * - the Http2UpgradeHandler does not call this method
+     *
      * - this method is called once the StreamProcessor considers the Stream 
closed
      *
      * In theory, the protection against duplicate calls is not required in 
this method (the code in StreamProcessor


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to