netbird/client/internal/peer
Mikhail Bragin d7b69b91b9
Fix error when removing peer conn (#264)
When stopping engine, all peer conns have to be closed
and for each peer WireGuard iface is called
to remove WireGuard peer.
This operation happens in a goroutine causing
Engine to remove the whole WireGuard interface before.
Therefore consequent calls to RemovePeer are unsuccessful.
This fix just adds a small delay before removing interface.
2022-03-13 15:16:16 +01:00
..
conn_test.go Test conn (#199) 2022-01-21 13:52:19 +01:00
conn.go Fix error when removing peer conn (#264) 2022-03-13 15:16:16 +01:00
error_test.go Test conn (#199) 2022-01-21 13:52:19 +01:00
error.go Test conn (#199) 2022-01-21 13:52:19 +01:00
status_test.go Test conn (#199) 2022-01-21 13:52:19 +01:00
status.go Fix concurrency on the client (#183) 2022-01-10 18:43:13 +01:00