https://bz.apache.org/bugzilla/show_bug.cgi?id=66592

            Bug ID: 66592
           Summary: Support for HTTPS proxy in websocket client
           Product: Tomcat 9
           Version: 9.0.74
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: radhika.j...@veritas.com
  Target Milestone: -----

Websocket client library in Apache Tomcat 9.x or all releases is supporting
only HTTP proxy server.

WsWebSocketContainer.java has following check:

       Proxy selectedProxy = null;
        for (Proxy proxy : proxies) {
            if (proxy.type().equals(Proxy.Type.HTTP)) {
                sa = proxy.address();
                if (sa instanceof InetSocketAddress) {
                    InetSocketAddress inet = (InetSocketAddress) sa;
                    if (inet.isUnresolved()) {
                        sa = new InetSocketAddress(inet.getHostName(),
inet.getPort());
                    }
                }
                selectedProxy = proxy;
                break;
            }
        }

This request is to enhance the clientlibrary to support HTTPS proxy servers.

-- 
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

Reply via email to