Closed JackDiWu closed 4 years ago
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.
let tlsStream = connector.connect("www.google.com", tcpStream).await?
tlsStream.clone()??