You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/06/26 20:45:04 UTC
svn commit: r1687836 -
/tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
Author: markt
Date: Fri Jun 26 18:45:04 2015
New Revision: 1687836
URL: http://svn.apache.org/r1687836
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/AprEndpoint.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java?rev=1687836&r1=1687835&r2=1687836&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Fri Jun 26 18:45:04 2015
@@ -1620,14 +1620,6 @@ public class AprEndpoint extends Abstrac
// Loop until we receive a shutdown command
while (pollerRunning) {
- // Loop if endpoint is paused
- while (pollerRunning && paused) {
- try {
- Thread.sleep(1000);
- } catch (InterruptedException e) {
- // Ignore
- }
- }
// Check timeouts if the poller is empty.
while (pollerRunning && connectionCount.get() < 1 &&
addList.size() < 1 && closeList.size() < 1) {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org