https://issues.apache.org/bugzilla/show_bug.cgi?id=57255
Bug ID: 57255 Summary: websocket sendMessage timeout Product: Tomcat 8 Version: 8.0.15 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: WebSocket Assignee: dev@tomcat.apache.org Reporter: benjamin1...@163.com I debug tomcat origin code, found when the client disconnect abnormal (for example the network is unreachable and device power off and so on), websocket socket can send message as well。The class WsRemoteEndpointImplBase.java line 240 has assign the send timeout value is 20 seconds. Why can't throw a TimeoutException, this confuse me.When the client disconnect abnormal ,there is some notification or callback function can I use to notice the client is disconnect abnormal and destory something. -- 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