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

--- Comment #2 from Filip Hanik <fha...@apache.org> ---
Thanks for the analysis.

Here is what I think will fix it

Index: java/org/apache/coyote/http11/Http11NioProcessor.java
===================================================================
--- java/org/apache/coyote/http11/Http11NioProcessor.java       (revision
1349898)
+++ java/org/apache/coyote/http11/Http11NioProcessor.java       (working copy)
@@ -155,7 +155,7 @@

         rp.setStage(org.apache.coyote.Constants.STAGE_ENDED);

-        if (error) {
+        if (error || status==SocketStatus.STOP) {
             return SocketState.CLOSED;
         } else if (!comet) {
             if (keepAlive) {

What this does, is that it prevents reuse of connections after a Comet
transaction has been notified of a STOP event.

-- 
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