riccardom
4daf7da383
[client] peer: re-arm the WireGuard watcher after a lazy wake
...
The Conn struct is reused across lazy-connection deactivate/activate. Close
cancels the WireGuard watcher (via wgWatcherCancel, and ctxCancel also tears
down its context) but left conn.wgWatcher pointing at the stopped instance.
enableWgWatcherIfNeeded skips while conn.wgWatcher is non-nil, so the next Open
never started a fresh watcher: once a lazy connection had idled and woken, the
peer ran with no watcher at all — no WireGuard handshake-timeout detection and
none of the escalation that depends on it.
Clear conn.wgWatcher and conn.wgWatcherCancel in Close so the next Open re-arms
a fresh watcher.
2026-08-07 09:42:27 +02:00
..
2026-06-29 19:51:50 +02:00
2026-07-22 18:20:27 +02:00
2026-07-29 20:32:26 +02:00
2026-07-31 19:12:56 +02:00
2026-08-03 18:23:02 +02:00
2026-06-28 18:50:17 +02:00
2026-07-23 14:37:52 +02:00
2026-03-30 15:53:50 +02:00
2025-03-09 16:06:43 +01:00
2026-07-31 19:12:56 +02:00
2026-07-23 18:40:54 +02:00
2026-05-07 11:33:37 +02:00
2026-07-01 14:50:25 +02:00
2026-07-09 18:17:28 +02:00
2026-05-25 18:38:21 +02:00
2026-08-07 09:42:27 +02:00
2026-06-30 11:22:25 +02:00
2026-05-29 15:15:22 +02:00
2026-08-03 14:21:40 +02:00
2026-06-17 15:41:48 +02:00
2026-07-11 11:03:55 +02:00
2026-08-03 18:23:02 +02:00
2026-07-06 13:47:16 +02:00
2026-05-20 13:09:22 +02:00
2026-07-17 15:31:07 +02:00
2025-11-13 20:16:45 +01:00
2026-06-03 14:18:50 +02:00
2025-11-17 15:28:20 +01:00
2026-07-28 16:51:01 +02:00
2026-08-03 16:28:10 +02:00
2025-10-21 18:14:39 +02:00
2026-07-28 18:12:49 +02:00
2026-07-28 18:12:49 +02:00
2026-05-07 11:33:37 +02:00
2026-04-01 16:19:34 +02:00
2025-07-02 09:01:02 +02:00
2026-08-03 15:03:15 +02:00
2026-07-22 18:47:48 +02:00
2026-07-22 18:47:48 +02:00
2026-05-07 11:33:37 +02:00
2026-05-07 11:33:37 +02:00
2026-07-06 13:47:16 +02:00
2025-10-01 20:10:11 +02:00
2025-10-01 20:10:11 +02:00
2026-07-14 12:12:37 +02:00
2026-06-28 16:15:54 +02:00
2026-07-22 15:22:16 +02:00
2026-07-06 13:47:16 +02:00
2026-07-06 13:47:16 +02:00
2026-05-07 11:33:37 +02:00
2025-11-13 20:16:45 +01:00
2025-11-13 20:16:45 +01:00
2026-06-30 11:22:25 +02:00
2026-08-03 18:23:02 +02:00
2026-08-03 18:23:02 +02:00
2026-06-30 11:22:25 +02:00
2025-02-21 10:19:38 +01:00
2026-01-08 18:58:22 +01:00
2025-08-05 15:22:58 +02:00
2026-07-28 16:51:01 +02:00
2024-03-08 18:28:13 +01:00
2026-07-06 13:47:16 +02:00
2026-05-04 18:49:39 +02:00
2026-05-04 18:49:39 +02:00
2026-05-04 18:49:39 +02:00