summaryrefslogtreecommitdiffstats
path: root/src/bin/client/tls.rs
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-28 22:46:47 +0100
committersalmonik <salmonik@tuta.io>2026-10-28 22:46:47 +0100
commit47d6c82a4943b1e804d062780b8e05f1e42f27b0 (patch)
tree11d0d557025118c7deb021eb9ad425fcc8b1e918 /src/bin/client/tls.rs
parentv0.3.0: add server core, bcrypt migration and plays audit (diff)
downloadzagan-bet-47d6c82a4943b1e804d062780b8e05f1e42f27b0.tar.gz
zagan-bet-47d6c82a4943b1e804d062780b8e05f1e42f27b0.zip
v0.3.1: clean up dependencies, stale tests and document verification
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 {