Project: Tomcat
Bug 53641 Wrong websocket's subprotocol implementation
Reported: 2012-08-02 12:52:08 | Status: resolved fixed

According to RFC6455 Section 4.3. the handling of subprotocol requests is not correct. It must be checked for "Sec-WebSocket-Protocol" instead of "Sec-WebSocket-Protocol-Client" in WebSocketServlet class.

Files changed in fix:
java/org/apache/catalina/websocket/WebSocketServlet.java