netbird/client/internal/networkmonitor
Zoltan Papp 636a0e2475
[client] Fix engine restart (#3435)
- Refactor the network monitoring to handle one event and it after return
- In the engine restart cancel the upper layer context and the responsibility of the engine stop will be the upper layer
- Before triggering a restart, the engine checks whether the state is already down. This helps avoid unnecessary delayed network restart events.
2025-03-10 13:32:12 +01:00
..
check_change_bsd.go [client] Fix engine restart (#3435) 2025-03-10 13:32:12 +01:00
check_change_linux.go [client] Fix engine restart (#3435) 2025-03-10 13:32:12 +01:00
check_change_windows.go [client] Fix engine restart (#3435) 2025-03-10 13:32:12 +01:00
monitor_mobile.go [client] Fix engine restart (#3435) 2025-03-10 13:32:12 +01:00
monitor_test.go [client] Fix engine restart (#3435) 2025-03-10 13:32:12 +01:00
monitor.go [client] Fix engine restart (#3435) 2025-03-10 13:32:12 +01:00