Fix WebSocket handshake for RDP by removing Sec-WebSocket-Protocol header
The client was failing WebSocket connection because the server was sending Sec-WebSocket-Protocol: binary header in the handshake response, but the client did not request any protocol. According to WebSocket RFC 6455, servers should not send protocol headers if not requested by the client. Changed the handshake response for RDP to not include the protocol header, matching the terminal WebSocket behavior.
Showing
Please
register
or
sign in
to comment