Skip to content
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

Hi, When will clone be supported? #32

Closed
JackDiWu opened this issue Jul 30, 2020 · 2 comments
Closed

Hi, When will clone be supported? #32

JackDiWu opened this issue Jul 30, 2020 · 2 comments

Comments

@JackDiWu
Copy link

let tlsStream = connector.connect("www.google.com", tcpStream).await?

tlsStream.clone()??

@burdges
Copy link

burdges commented Jul 30, 2020

rustls::ClientSession cannot be cloned, likely because doing so makes it insecure. You might use 0-RTT tricks to open a second stream cheaply, not sure.

@skade
Copy link
Collaborator

skade commented Jul 31, 2020

Dup of #18. Please use the discord chat or similar for inquiries.

@skade skade closed this as completed Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants