websockets-rs / rust-websocket

A WebSocket (RFC6455) library written in Rust
http://websockets-rs.github.io/rust-websocket/
MIT License
1.55k stars 223 forks source link

Upgrade openssl dependency to 0.9.7 #98

Closed asayers closed 7 years ago

asayers commented 7 years ago

I'd like to upgrade the openssl dependency to the latest, to allow rust-websocket to be used alongside other crates which also depend on openssl. The upgrade was mostly straightforward, but I did hit one snag: SslStream no longer implements try_clone, which makes implementing it for WebSocketStream problematic. Apparently rustls' ClientSession also doesn't provide a try_clone.

This PR breaks secure websockets; I'm not suggesting you merge it as-is - just asking for suggestions.

illegalprime commented 7 years ago

@asayers I have this fixed in #80 , watch out for that to land

asayers commented 7 years ago

Great! I guess I can close this PR now then.