async-rs / async-tls

A TLS implementation over AsyncRead and AsyncWrite

Home Page:https://async.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hi, When will clone be supported?

JackDiWu opened this issue · comments

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

tlsStream.clone()??

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.

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