Hi, Developing some sample apps with websockets and tomcat 8 revealed two issues I’d like to discuss here.
1. There is no proxy support in the implementation of WebSocketContainer.connectToServer calls. While playing around with the code it was relatively easy to add this in the implementation with simple consideration of http.proxyHost and xxxxPort system properties; replacing host and port values which were obtained from path method parameter and making initial HTTP CONNECT message to the proxy. In this case, do you think we can add proxy support here? I was thinking how to provide some kind of automation test as well, but no luck so far. 2. So when I got my proxy tunneling in place (with the CONNECT http request) I hit a tougher problem with SSL handshake implementation in WebSocketSslHandshakeThread. The SSL handshake was successful while I was stepping with the debugger through the code and failed when I run the test. It should be some timing issue. This bit needs more debugging. Have you seen this before? Regards Nikolai