tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56032] New: WebSocket Endpoint onClose method not called when channel closed by thread interruption
Date Sun, 19 Jan 2014 10:56:23 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56032

            Bug ID: 56032
           Summary: WebSocket Endpoint onClose method not called when
                    channel closed by thread interruption
           Product: Tomcat 8
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebSocket
          Assignee: dev@tomcat.apache.org
          Reporter: kenneth.gendron@gmail.com

When an interrupted thread uses the basic or asynchronous remote of a session
to write, the underlying channel is closed (this is as expected); however, the
onClose method of the associated endpoint is not called.  This can lead the
server into believing the session is still active.  The only way I have gotten
around it is to delegate the write methods to6 a thread that can't possibly be
interrupted.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message