-
-
Notifications
You must be signed in to change notification settings - Fork 727
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
SslStream does not implement clone #6
Comments
This will probably be necessary for implementing high-performance HTTP/2.0. |
Doing this properly will be a bit tricky since OpenSSL doesn't expose the ability to bump an |
I also just ran into this. I clone the TcpStreams to make a |
Ya, in Hyper we have to wrap the SslStream in |
An |
👍 I need this enhancement for the reasons stated by @retep998. |
Thanks! I'm excited for this change to be up on crates.io. |
openssl::ssl::SslStream<std::io::net::tcp::TcpStream>
does not implement any method in scope namedclone
TcpStream implements
clone
; my use case would be to clone to use the object in a spawned task:The text was updated successfully, but these errors were encountered: