This is an automated email from the ASF dual-hosted git repository. markt-asf pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 7245c92d393a8d07f0c5545c6c05ab9ab97b8367 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 a1a46a2616..73f2aa2bb6 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 AbstractJsseEndpoint<Nio2Channel,AsynchronousS */ 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]
