Anthony Wong
d78e9bcf5b
fix(cli): treat explicit intercept-mode off as final in listener setup
...
tryUpdateListenerConfig treated an explicit --intercept-mode off the same
as an empty flag and fell back to the persisted config value. run() selects
the listener strategy before it clears the persisted mode, so the first
start after a revert to standard mode selected the intercept strategy from
a stale dns/hard value while setDNS kept interception off.
Extract the resolution into listenerInterceptMode and make an explicit off
final, the same contract as setDNS. Add a regression test that fails
without the fix.
2026-08-22 01:34:48 +07:00
..
2024-02-07 14:40:18 +07:00
2025-01-24 14:54:20 +07:00
2025-12-18 17:10:39 +07:00
2025-12-18 17:10:39 +07:00
2025-02-18 20:25:13 +07:00
2026-07-28 16:11:37 +07:00
2026-08-21 14:49:30 +07:00
2026-08-21 14:52:02 +07:00
2024-08-07 15:51:11 +07:00
2026-08-22 01:34:48 +07:00
2026-08-21 14:52:02 +07:00
2026-08-21 15:12:32 +07:00
2023-08-15 18:22:38 +07:00
2026-03-25 13:58:44 +07:00
2023-08-15 18:22:38 +07:00
2026-08-21 14:49:30 +07:00
2026-08-21 14:47:58 +07:00
2026-08-21 14:52:02 +07:00
2026-08-21 14:45:56 +07:00
2026-08-21 14:46:44 +07:00
2026-08-21 14:46:44 +07:00
2026-08-21 14:45:56 +07:00
2026-08-21 14:45:56 +07:00
2026-08-21 14:46:44 +07:00
2026-07-28 16:12:47 +07:00
2026-08-21 14:49:30 +07:00
2023-08-15 18:22:38 +07:00
2024-10-24 13:05:48 +07:00
2024-10-24 13:05:48 +07:00
2026-08-21 15:12:32 +07:00
2026-08-21 14:46:44 +07:00
2026-08-21 14:49:58 +07:00
2026-08-21 14:49:58 +07:00
2026-08-22 01:34:48 +07:00
2026-03-25 13:58:44 +07:00
2026-07-28 16:13:19 +07:00
2026-04-29 15:12:44 +07:00
2026-07-28 16:13:19 +07:00
2023-12-13 14:53:29 +07:00
2024-05-24 18:21:07 +07:00
2026-08-21 15:12:32 +07:00
2026-07-28 16:12:36 +07:00
2026-08-21 14:48:20 +07:00
2025-01-20 15:03:27 +07:00
2025-02-10 18:45:17 +07:00
2025-02-10 18:45:17 +07:00
2024-12-19 21:34:26 +07:00
2025-01-31 20:04:03 +07:00
2023-09-22 18:42:21 +07:00
2023-08-15 18:22:38 +07:00
2023-11-16 20:55:39 +07:00
2025-02-18 20:25:13 +07:00
2026-08-21 14:46:44 +07:00
2026-08-21 14:46:44 +07:00
2026-08-21 14:46:44 +07:00
2026-08-21 14:46:44 +07:00
2026-07-14 01:12:37 +07:00
2026-07-14 01:12:37 +07:00
2025-05-15 17:00:59 +07:00
2025-05-15 17:00:59 +07:00
2023-08-15 18:22:38 +07:00
2025-11-12 15:14:40 +07:00
2023-08-15 18:22:38 +07:00
2024-12-19 21:34:37 +07:00
2026-03-03 14:29:09 +07:00
2026-08-21 14:45:56 +07:00
2026-08-21 14:45:56 +07:00
2023-08-15 18:22:38 +07:00
2023-08-15 18:22:38 +07:00
2026-08-21 15:12:32 +07:00
2024-05-09 18:39:30 +07:00
2026-08-05 00:39:42 +07:00
2025-02-26 00:44:13 +07:00
2026-07-14 01:12:34 +07:00
2025-02-26 00:44:13 +07:00
2026-08-21 15:12:32 +07:00
2024-08-07 15:51:11 +07:00
2026-08-21 14:52:02 +07:00
2026-08-21 14:52:02 +07:00
2023-11-06 20:01:03 +07:00
2023-11-06 20:01:03 +07:00
2024-08-07 15:54:20 +07:00
2025-06-04 18:36:51 +07:00
2024-02-22 18:15:36 +07:00
2025-02-10 18:55:36 +07:00
2025-05-15 17:00:59 +07:00
2025-05-15 17:00:59 +07:00
2024-08-07 15:51:11 +07:00
2024-08-07 15:51:11 +07:00
2024-08-16 13:50:11 +07:00
2025-03-26 23:18:36 +07:00
2025-03-26 23:18:36 +07:00
2025-03-26 23:18:36 +07:00
2023-08-15 18:22:38 +07:00
2026-08-21 15:12:32 +07:00
2026-08-21 15:12:32 +07:00
2026-08-21 15:12:32 +07:00
2026-08-21 15:12:32 +07:00
2026-08-21 15:12:32 +07:00
2026-08-21 14:50:27 +07:00
2026-08-21 14:50:27 +07:00
2026-08-21 14:50:27 +07:00
2026-08-21 14:50:27 +07:00
2025-02-24 18:36:08 +07:00
2026-08-21 14:50:27 +07:00
2026-08-21 14:50:27 +07:00
2026-08-21 14:52:02 +07:00
2024-12-19 21:34:21 +07:00
2026-03-25 13:58:24 +07:00
2026-08-21 15:38:35 +07:00
2026-07-28 16:12:36 +07:00
2026-08-21 14:50:11 +07:00
2026-08-21 14:50:11 +07:00
2026-07-14 01:12:34 +07:00
2026-08-21 14:45:56 +07:00
2026-08-21 14:45:56 +07:00
2024-02-07 14:40:18 +07:00