https://bz.apache.org/bugzilla/show_bug.cgi?id=62615
Bug ID: 62615
Summary: WsSession leaks if java.net.SocketTimeoutException
occurs after session.close()
Product: Tomcat 8
Version: 8.5.31
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: WebSocket
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
Created attachment 36083
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36083&action=edit
test code
1. Client --- debug a break point at WebSocketMessageHandler.onMessage:18 and
never resume
2. Server --- after about 18s, Thread Pool throw
java.util.concurrent.RejectedExecutionException
3. Server --- after about 20s, tomcat throw java.net.SocketTimeoutException
4. Client --- resume program log onClose
5. Server --- org.apache.tomcat.websocket.WsSession cannot be GC
--
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]