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

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

commit e0d8de393c1aace3f8c0de353030a61862bfaf5e
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 d0257ab17e..7d959e321e 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -805,8 +805,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