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

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new cf8a91a  Remove now dead code
cf8a91a is described below

commit cf8a91a49b743bda8497753f563368b5983d36bb
Author: remm <r...@apache.org>
AuthorDate: Mon May 13 11:27:48 2019 +0200

    Remove now dead code
---
 java/org/apache/tomcat/util/net/Nio2Endpoint.java | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/java/org/apache/tomcat/util/net/Nio2Endpoint.java 
b/java/org/apache/tomcat/util/net/Nio2Endpoint.java
index d61803c..b56cbad 100644
--- a/java/org/apache/tomcat/util/net/Nio2Endpoint.java
+++ b/java/org/apache/tomcat/util/net/Nio2Endpoint.java
@@ -141,11 +141,6 @@ public class Nio2Endpoint extends 
AbstractJsseEndpoint<Nio2Channel,AsynchronousS
         InetSocketAddress addr = new InetSocketAddress(getAddress(), 
getPortWithOffset());
         serverSock.bind(addr, getAcceptCount());
 
-        // NIO 2 does not use a dedicated accept thread
-        if (acceptorThreadCount != 1) {
-            acceptorThreadCount = 1;
-        }
-
         // Initialize SSL if needed
         initialiseSsl();
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to