https://issues.apache.org/bugzilla/show_bug.cgi?id=56982

            Bug ID: 56982
           Summary: Websocket session.getNegotiatedExtensions() always
                    return an empty list whereas permessage-deflate
                    enabled
           Product: Tomcat 8
           Version: 8.0.12
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebSocket
          Assignee: dev@tomcat.apache.org
          Reporter: christian.se...@hardis.fr

whereas permessage-deflate is enabled, WsSession.getNegotiatedExtensions()
always return an empty list.
If I use a  ServerEndpointConfig.Configurator, I see that the
ServerEndpointConfig return a list with the "permessage-deflate" extension.

but in WsSession.java the current code is

    public List<Extension> getNegotiatedExtensions() {
        checkState();
        return Collections.emptyList();
    }


regards

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