Author: markt Date: Fri Jun 26 18:43:46 2015 New Revision: 1687834 URL: http://svn.apache.org/r1687834 Log: Pausing the endpoint should not pause the poller. The poller needs to continue to operate to enable async, non-blocking I/O and HTTP/2 connections to complete.
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1687834&r1=1687833&r2=1687834&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Fri Jun 26 18:43:46 2015 @@ -799,14 +799,6 @@ public class NioEndpoint extends Abstrac public void run() { // Loop until destroy() is called while (true) { - // Loop if endpoint is paused - while (paused && (!close) ) { - try { - Thread.sleep(100); - } catch (InterruptedException e) { - // Ignore - } - } boolean hasEvents = false; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org