This is an automated email from the ASF dual-hosted git repository. markt-asf pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit f77cd1cca6dd2f734be13e008a9055ce384b57a4 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 e00513fc14..ba3157052d 100644 --- a/java/org/apache/tomcat/util/net/Nio2Endpoint.java +++ b/java/org/apache/tomcat/util/net/Nio2Endpoint.java @@ -80,7 +80,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]
