From d2ba2f5189c90cfbc7f2265424ba86f6db6e6b1a Mon Sep 17 00:00:00 2001 From: Markus Pettersson Date: Thu, 19 Dec 2024 16:39:42 +0100 Subject: [PATCH] Revert "Reset connection monitor state and timeout between each ping attempt" This reverts commit e84c2917760d890465031e48bc5a716dc857cd48. --- talpid-wireguard/src/connectivity/check.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/talpid-wireguard/src/connectivity/check.rs b/talpid-wireguard/src/connectivity/check.rs index 508e8cff63d0..702ce97f2d4d 100644 --- a/talpid-wireguard/src/connectivity/check.rs +++ b/talpid-wireguard/src/connectivity/check.rs @@ -125,8 +125,6 @@ impl Check { // checks if the tunnel has ever worked. Intended to check if a connection to a tunnel is // successful at the start of a connection. pub fn establish_connectivity(&mut self, tunnel_handle: &TunnelType) -> Result { - self.conn_state = ConnState::new(Instant::now(), Default::default()); - // Send initial ping to prod WireGuard into connecting. self.ping_state .pinger