Author: remm Date: Tue Jul 21 14:07:58 2015 New Revision: 1692121 URL: http://svn.apache.org/r1692121 Log: Since this is still failing and I cannot figure out why, disable maxConnections for NIO2 since it seems counter productive.
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java?rev=1692121&r1=1692120&r2=1692121&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java Tue Jul 21 14:07:58 2015 @@ -195,6 +195,10 @@ public class Nio2Endpoint extends Abstra // NIO2 does not allow any form of IO concurrency acceptorThreadCount = 1; } + // Disable maxConnections feature, mostly designed for APR rather than NIO2, and has issues (BZ58103) + if (getMaxConnections() != -1) { + setMaxConnections(-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