https://issues.apache.org/bugzilla/show_bug.cgi?id=49038

--- Comment #7 from jfclere <jfcl...@gmail.com> 2011-03-10 06:00:53 EST ---
Probably something like:
+++
Index: java/org/apache/coyote/http11/Http11AprProcessor.java
===================================================================
--- java/org/apache/coyote/http11/Http11AprProcessor.java       (revision 1601)
+++ java/org/apache/coyote/http11/Http11AprProcessor.java       (working copy)
@@ -1027,6 +1027,13 @@
      */
     public void action(ActionCode actionCode, Object param) {

+        if (!endpoint.isRunning()) {
+            if (log.isDebugEnabled()) {
+                log.debug("action " + actionCode.getCode() +
+                          " attempted on closed endpoint");
+            }
+            socket = 0;
+        }
         if (actionCode == ActionCode.ACTION_COMMIT) {
             // Commit current response

+++
Could prevent the problem. The real issue is that pause() / stop() doesn't test
that there are running requests....

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to