This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new e7b8d96 Follow-up to e863f54 for NIO2
e7b8d96 is described below
commit e7b8d96009eb3fc10aee4d8c6e3339b6493301cb
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Nov 19 17:02:03 2020 +0000
Follow-up to e863f54 for NIO2
---
java/org/apache/tomcat/util/net/Nio2Endpoint.java | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/java/org/apache/tomcat/util/net/Nio2Endpoint.java
b/java/org/apache/tomcat/util/net/Nio2Endpoint.java
index 18ead41..e45761e 100644
--- a/java/org/apache/tomcat/util/net/Nio2Endpoint.java
+++ b/java/org/apache/tomcat/util/net/Nio2Endpoint.java
@@ -419,8 +419,13 @@ public class Nio2Endpoint extends
AbstractJsseEndpoint<Nio2Channel,AsynchronousS
}
}
- @Override
- public void stop() {
+ /**
+ * Signals the Acceptor to stop.
+ *
+ * @param waitSeconds Ignored for NIO2.
+ *
+ */
+ public void stop(int waitSeconds) {
acceptor.state = AcceptorState.ENDED;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]