Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced WebSocket Protocol Handling in Proxy Server Connections #304

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Enhanced WebSocket Protocol Handling in Proxy Server Connections #304

merged 1 commit into from
Mar 1, 2024

Commits on Mar 1, 2024

  1. Added protocol specification when connecting to the server

    In the previous implementation, when a client sends a proxy specification with the sec-websocket-protocol protocol, the proxy would disregard it and establish a connection to the server without this specification. This could lead to an incorrect connection and ultimately result in data not being sent. In my commit, I've modified the code to include the utilized protocols in the options and then pass them to the WebSocket constructor, ensuring the protocol specification is honored during the connection process
    Nikita committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    c135ed0 View commit details
    Browse the repository at this point in the history