summaryrefslogtreecommitdiffstats
path: root/src/bin/client/tls.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bin/client/tls.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bin/client/tls.rs b/src/bin/client/tls.rs
index b118f63..8c052f7 100644
--- a/src/bin/client/tls.rs
+++ b/src/bin/client/tls.rs
@@ -204,11 +204,6 @@ impl TlsStream {
204 ) -> std::io::Result<()> { 204 ) -> std::io::Result<()> {
205 self.session.lock().sock.set_read_timeout(duration) 205 self.session.lock().sock.set_read_timeout(duration)
206 } 206 }
207
208 /// Clones share the same underlying TLS session.
209 pub fn try_clone(&self) -> std::io::Result<TlsStream> {
210 Ok(self.clone())
211 }
212} 207}
213 208
214impl Read for TlsStream { 209impl Read for TlsStream {