Project: Tomcat
Bug 54748 IOException in echo WebSocket example
Reported: 2013-03-25 09:23:09 | Status: resolved fixed

The IOException "New frame received after a close control frame" is raised after pressing Disconnect. The exception can be detected by adding an onError method to EchoEndpoint.

Files changed in fix:
java/org/apache/tomcat/websocket/WsFrameBase.java java/org/apache/tomcat/websocket/WsFrameClient.java java/org/apache/tomcat/websocket/server/WsFrameServer.java