https://bz.apache.org/bugzilla/show_bug.cgi?id=59238
Bug ID: 59238
Summary: WebSocket gets messages after closing
Product: Tomcat 8
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: regression
Priority: P2
Component: WebSocket
Assignee: [email protected]
Reporter: [email protected]
Upgraded from apache-tomcat-8.0.22 to apache-tomcat-8.0.33. Now websockets get
messages (@OnMessage) even after the session is closed (by
javax.websocket.Session#close(javax.websocket.CloseReason) method).
The following events occurred:
1. invoke javax.websocket.Session#close(javax.websocket.CloseReason)
2. invoked
@OnClose
public void onClose(Session session, CloseReason closeReason) {
3. after getting messages invoked
@OnMessage
public void onMessage(Session session, ByteBuffer byteBuffer) {
I'm expecting that the close method close the session and I shouldn't get
messages anymore
OS: Ubuntu 64 bits
--
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]