This is an automated email from the ASF dual-hosted git repository.

rmaucher pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new a648aac641 Fix max connections after pause resume
a648aac641 is described below

commit a648aac641d4c4369e73135f6e415a17e078c669
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 51bc98274b..925744c8ef 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -2116,6 +2116,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 075fb5916a..1dfea9ba01 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -210,6 +210,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]

Reply via email to