• Stefy Lanza (nextime / spora )'s avatar
    Fix WebSocket handshake for RDP by removing Sec-WebSocket-Protocol header · d30f31c1
    Stefy Lanza (nextime / spora ) authored
    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.
    d30f31c1
Name
Last commit
Last update
temp_rdp_wasm @ 4477a0bc Loading commit data...
wsssh-server/debian Loading commit data...
wssshd2 Loading commit data...
wssshtools Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
AI.PROMPT~ Loading commit data...
BRIDGE_MODE_TESTING.md Loading commit data...
CHANGELOG.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
TODO.md Loading commit data...
build.sh Loading commit data...
changes Loading commit data...
clean.sh Loading commit data...
image.jpg Loading commit data...
prompt.txt Loading commit data...
requirements.txt Loading commit data...
service.conf.example Loading commit data...
test_bridge_mode.sh Loading commit data...
test_client.c Loading commit data...
test_server.c Loading commit data...
wssshc.conf.example Loading commit data...
wssshc.init Loading commit data...
wssshc_watcher.sh Loading commit data...
wssshd.conf.example Loading commit data...
wssshd.init Loading commit data...
wsssht.conf.example Loading commit data...
wsssht.init Loading commit data...