This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 901c3bdd0d Fix max connections after pause resume
901c3bdd0d is described below
commit 901c3bdd0dd41abab0aa89a1637897179579df33
Author: remm <[email protected]>
AuthorDate: Wed Sep 2 10:38:37 2026 +0200
Fix max connections after pause resume
Found by code review.
---
java/org/apache/tomcat/util/net/AbstractEndpoint.java | 1 +
webapps/docs/changelog.xml | 3 +++
2 files changed, 4 insertions(+)
diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index f766a04e56..3b23ccf9fa 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -2317,6 +2317,7 @@ public abstract class AbstractEndpoint<S, U> {
*/
public void resume() {
if (running) {
+ initializeConnectionLatch();
paused = false;
}
}
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 518ae2f056..c23e76d7d8 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -202,6 +202,9 @@
Only try and load the native library from the
<code>CATALINA_HOME</code>
system property when the property is set. (markt)
</fix>
+ <fix>
+ Fix max connections enforcement after an enpoint resume. (remm)
+ </fix>
</changelog>
</subsection>
<subsection name="Jasper">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]