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: [email protected]
Reporter: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]