Repro for servo/servo#27043 and housleyjk/ws-rs#51
Steps
(appologies for the weird repro steps)
- Be running on Windows 10.
- Ensure you have the rust toolchain installed.
- Ensure vcpkg is intalled.
- Add vcpkg to the path environment variable.
- Integrate vcpkg
- Run this from a terminal with admin privileges.
- Install openssl for 64 bit Windows
vcpkg install openssl --triplet x64-windows-static-md
- Run
cargo run
.
It will prompt for which URL to use. One is a normal insecure websocket (ws
) and the other is secure (wss
).
For option 0
, a connection with the server will be established and any message you type will be echoed back to you.
For option 1
, a connection will be attempted but will fail for some reason.
From what I can tell from wireshark, no packets are sent when connecting over wss
while over ws
the connection will be established correctly.