diff options
Diffstat (limited to '')
| -rw-r--r-- | src/bin/client/tls.rs | 5 |
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 | ||
| 214 | impl Read for TlsStream { | 209 | impl Read for TlsStream { |
