From 4d140bac2d12347e9fc912fb8aebba85abcb5250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Tue, 1 Dec 2026 04:44:47 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20an=20Outdated=20server=20?= =?UTF-8?q?no=20longer=20kills=20the=20client's=20connection=20loop=20for?= =?UTF-8?q?=20good;=20it=20keeps=20retrying=20with=20the=20normal=20backof?= =?UTF-8?q?f,=20so=20restarting=20or=20updating=20the=20server=20lets=20yo?= =?UTF-8?q?u=20log=20in=20without=20restarting=20the=20client?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/client/src/net/link.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/client/src/net/link.rs b/crates/client/src/net/link.rs index 1073380..4e9c2ac 100644 --- a/crates/client/src/net/link.rs +++ b/crates/client/src/net/link.rs @@ -459,14 +459,6 @@ async fn actor( } match result { Ok(connection) => break connection, - Err(LinkError::Outdated) => { - warn!("server speaks another protocol version"); - let _ = event_sender - .send(NetworkEvent::Disconnected(LinkError::Outdated)) - .await; - while command_receiver.recv().await.is_some() {} - return; - } Err(error) => { warn!("connect failed: {error}");