This is an automated email from the ASF dual-hosted git repository. markt 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 fffb087 Quick fix for poller issue reported on users list fffb087 is described below commit fffb08790e642e03f00c5f96a3a61ee09a2c8342 Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Jul 3 20:44:41 2019 +0100 Quick fix for poller issue reported on users list --- java/org/apache/tomcat/util/net/AprEndpoint.java | 2 ++ webapps/docs/changelog.xml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/java/org/apache/tomcat/util/net/AprEndpoint.java b/java/org/apache/tomcat/util/net/AprEndpoint.java index f5fa038..5cb6b78 100644 --- a/java/org/apache/tomcat/util/net/AprEndpoint.java +++ b/java/org/apache/tomcat/util/net/AprEndpoint.java @@ -1483,6 +1483,8 @@ public class AprEndpoint extends AbstractEndpoint<Long,Long> implements SNICallB boolean reset = false; int rv = 0; + // Reset the nextPollerTime + nextPollerTime = pollerTime; // Iterate on each pollers, but no need to poll empty pollers if (pollerSpace[i] < actualPollerSize) { rv = Poll.poll(pollers[i], nextPollerTime, desc, true); diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index e7520fd..de65b88 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -92,6 +92,10 @@ Once a URI is identified as invalid don't attempt to process it further. Based on a PR by Alex Repert. (markt) </fix> + <fix> + Fix to avoid the possibility of long poll times for individual pollers + when using mutliple pollers with APR. (markt) + </fix> </changelog> </subsection> <subsection name="Jasper"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org