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

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


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 3c6115e9b2 Update comment
3c6115e9b2 is described below

commit 3c6115e9b20507af902a2a32d6c7e210a2faeb46
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jul 27 15:48:59 2023 +0100

    Update comment
---
 java/org/apache/coyote/http2/Stream.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/Stream.java 
b/java/org/apache/coyote/http2/Stream.java
index ece430ac6c..091f468a67 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -894,7 +894,7 @@ class Stream extends AbstractNonZeroStream implements 
HeaderEmitter {
         private volatile boolean endOfStreamSent = false;
 
         /*
-         * The write methods are synchronized to ensure that only one thread 
at a time is able to access the buffer.
+         * The write methods share a common lock to ensure that only one 
thread at a time is able to access the buffer.
          * Without this protection, a client that performed concurrent writes 
could corrupt the buffer.
          */
 


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

Reply via email to