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

markt-asf 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 892260ab94 Speed up shutdown. Particularly NIO2 tests.
892260ab94 is described below

commit 892260ab94a6883efa7cde8d75b538601d85ba47
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Nov 6 20:31:13 2026 +0000

    Speed up shutdown. Particularly NIO2 tests.
---
 java/org/apache/tomcat/util/net/Nio2Endpoint.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/Nio2Endpoint.java 
b/java/org/apache/tomcat/util/net/Nio2Endpoint.java
index 2c5f505a6f..9471eb455e 100644
--- a/java/org/apache/tomcat/util/net/Nio2Endpoint.java
+++ b/java/org/apache/tomcat/util/net/Nio2Endpoint.java
@@ -81,7 +81,7 @@ public class Nio2Endpoint extends 
AbstractNetworkChannelEndpoint<Nio2Channel,Asy
      */
     private AsynchronousChannelGroup threadGroup = null;
 
-    private volatile boolean allClosed;
+    private volatile boolean allClosed = true;
 
     /**
      * Bytebuffer cache, each channel holds a set of buffers (two, except for 
SSL holds four)


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

Reply via email to