This is an automated email from the ASF dual-hosted git repository. markt 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 851dd5a8ae Prepare for automated formatting 851dd5a8ae is described below commit 851dd5a8ae8abd15cfb2d28df509d0f30bc8d469 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Aug 29 11:57:07 2025 +0100 Prepare for automated formatting --- java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java b/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java index 3223a6a315..a3d444a6a2 100644 --- a/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java +++ b/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java @@ -105,7 +105,9 @@ public class WsRemoteEndpointImplServer extends WsRemoteEndpointImplBase { /* * Special handling is required only when all of the following are true: + * * - A close message is being sent + * * - This thread currently holds the socketWrapper lock (i.e. the thread is current processing a socket event) */ if (!(opCode == Constants.OPCODE_CLOSE && socketWrapper.getLock().isHeldByCurrentThread())) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org