summaryrefslogtreecommitdiffstats
path: root/src/bin/client/connection.rs
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-29 22:55:49 +0100
committersalmonik <salmonik@tuta.io>2026-10-29 22:55:49 +0100
commit49df948de25d28601469e9ca993f33530989ebd0 (patch)
tree291aae0f57d0d7d12a27eb28038e43f942d6b991 /src/bin/client/connection.rs
parentv2.4.0: key stored credentials by certificate fingerprint (diff)
downloadzagan-bet-49df948de25d28601469e9ca993f33530989ebd0.tar.gz
zagan-bet-49df948de25d28601469e9ca993f33530989ebd0.zip
v3.0.0: cursor-driven roulette felt with splits and corners; drop schema migrations; require 80x24
Diffstat (limited to 'src/bin/client/connection.rs')
-rw-r--r--src/bin/client/connection.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/client/connection.rs b/src/bin/client/connection.rs
index ec5642c..7516836 100644
--- a/src/bin/client/connection.rs
+++ b/src/bin/client/connection.rs
@@ -49,7 +49,7 @@ pub fn connect(
49 Ok(Ok((tls, fp))) => (tls, fp), 49 Ok(Ok((tls, fp))) => (tls, fp),
50 Ok(Err(e)) => return Err(Box::new(TrustError(format!("{e}")))), 50 Ok(Err(e)) => return Err(Box::new(TrustError(format!("{e}")))),
51 Err(mpsc::RecvTimeoutError::Timeout) => { 51 Err(mpsc::RecvTimeoutError::Timeout) => {
52 return Err("Connection timed out after 3 seconds".into()); 52 return Err("Connection timed out after 10 seconds".into());
53 } 53 }
54 Err(_) => return Err("Connection attempt failed".into()), 54 Err(_) => return Err("Connection attempt failed".into()),
55 }; 55 };