Skip to content

Commit cd8698a

Browse files
committed
Fix ManagedNetworkPathReconnect compile; tag v12.9.2-3942-pre changelog
NWInterface.InterfaceType has no rawValue on release_arm64 CI toolchain. Use String(describing:) for path signature logging. Co-authored-by: D3C0Y <decoder-dev@users.noreply.github.com>
1 parent 3b5daa2 commit cd8698a

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@
66

77
## [Unreleased]
88

9+
## [v12.9.2-3942-pre] — 2026-09-02
10+
11+
Pre-release: network audit cleanup, FakeTLS Chrome ClientHello, WEB proxy foreground resume.
12+
913
### Fixed
1014
- **WEB proxy resume:** typed sidecar events; MtProto rebuild only on `.carrierResumedInPlace`; carrier rebuild on any real background; single lifecycle hook in AppDelegate.
1115
- **WEB proxy:** in-place reconnect failure no longer double-fires `onFailure` + manager restart (was invalidating `startGeneration` and delaying recovery by backoff); pause MtProto whenever sidecar is down, including stale loopback in environment.
1216
- **WEB proxy:** tear down `NWPathMonitor` when the user disables WEB proxy (no leaked monitor after explicit off).
1317
- **Network:** `rebuildTransport()` respects WEB bootstrap pause — path/VPN handoff no longer resumes MtProto into direct DC while sidecar is bootstrapping.
1418
- **Network:** rebuild transport on OS path changes (Wi‑Fi/cellular/VPN handoff); WEB bootstrap pause; IPv6 connect cap 2.5s; WebSocket send failures tear down the connection like NW TCP.
19+
- **Network:** fix `ManagedNetworkPathReconnect` compile on release_arm64 (`NWInterface.InterfaceType` has no `rawValue`).
1520
- **Proxy rotation:** only switch when the active proxy has connection issues; 12s probe timeout (was 30s).
1621

1722
### Changed

‎submodules/TelegramCore/Sources/Network/ManagedNetworkPathReconnect.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func managedNetworkPathReconnect(network: Network) -> Signal<Never, NoError> {
1515
let debounceQueue = Queue()
1616

1717
monitor.pathUpdateHandler = { path in
18-
let interfaces = path.availableInterfaces.map { "\($0.type.rawValue)" }.sorted().joined(separator: ",")
18+
let interfaces = path.availableInterfaces.map { String(describing: $0.type) }.sorted().joined(separator: ",")
1919
let signature = "\(path.status.rawValue)-\(interfaces)"
2020
guard path.status == .satisfied else {
2121
lastSignature = signature

0 commit comments

Comments
 (0)