This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 2beaec3870 Fix max connections after pause resume
2beaec3870 is described below
commit 2beaec3870565612858f217ab865eb2039b06b4a
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 5832d0eb07..fd8bfcf775 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -2050,6 +2050,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 8ae1ae6267..de3b09a7a9 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -186,6 +186,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]