diff options
| author | Emīls <emils@mullvad.net> | 2026-01-26 12:36:42 +0100 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2026-01-26 12:36:42 +0100 |
| commit | 5546a01418e05860c22595550b6bc6aec1446300 (patch) | |
| tree | b280c4d68d27abfcc859375a68cf5705ef998646 | |
| parent | 570ec395127d99c5bc8df23cc66c8ae857c5d9a0 (diff) | |
| download | mullvadvpn-connection-loss-event-when-the-connection-takes-too-long-ios-1298.tar.xz mullvadvpn-connection-loss-event-when-the-connection-takes-too-long-ios-1298.zip | |
Reset timeout reference when starting the monitorconnection-loss-event-when-the-connection-takes-too-long-ios-1298
| -rw-r--r-- | ios/PacketTunnelCore/TunnelMonitor/TunnelMonitor.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ios/PacketTunnelCore/TunnelMonitor/TunnelMonitor.swift b/ios/PacketTunnelCore/TunnelMonitor/TunnelMonitor.swift index fddc9dc748..539308099e 100644 --- a/ios/PacketTunnelCore/TunnelMonitor/TunnelMonitor.swift +++ b/ios/PacketTunnelCore/TunnelMonitor/TunnelMonitor.swift @@ -305,6 +305,7 @@ public final class TunnelMonitor: TunnelMonitorProtocol, @unchecked Sendable { try pinger.startPinging(destAddress: probeAddress) state.connectionState = .connecting + state.timeoutReference = Date() startConnectivityCheckTimer() } catch { logger.error(error: error, message: "Failed to open socket.") |
