From 546ef4eb3f2bda89101bee223f3465ddf7cb0261 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Mon, 6 Jul 2026 13:36:09 -0700 Subject: [PATCH] Network Connection Logic Enhancement Nucleic-Session: 93A70648-2057-4092-9372-860E1BA151D8 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/HostConnection.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Models/HostConnection.swift b/NucleicRemote/NucleicRemote/Models/HostConnection.swift index 7d8ce76..85d84c1 100644 --- a/NucleicRemote/NucleicRemote/Models/HostConnection.swift +++ b/NucleicRemote/NucleicRemote/Models/HostConnection.swift @@ -117,6 +117,9 @@ final class HostConnection { private var retryTask: Task? private var revalidateTask: Task? private var lanConnectTimeout: Task? + /// In-flight LAN-reachability probe (the tailnet/relay → LAN return leg). Nil unless a probe is + /// running; at most one at a time so repeated path-change events don't stack. + private var lanUpgradeProbe: Task? private var reconnectAttempts = 0 private var seenSeq: Set = []