Skip to content

Force ignore Sec-WebSocket-Protocol in libwebsocket server mode. #3464

Description

@exploman

As a server, in order to maintain maximum compatibility, I only provide one service for one port. I hope to force the Sec WebSocket Protocol to be ignored, whether the client fills it with an empty space or any other value. However, I checked the lws_process_ws_upgrade function and it definitely forces the matching of sub protocol names in this function. I always get logs like this "No supported protocol"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions