netbird/relay/client
Zoltan Papp 0eb99c266a
Fix unused servers cleanup (#2826)
The cleanup loop did not manage those situations well when a connection failed or 
the connection success but the code did not add a peer connection to it yet.

- in the cleanup loop check if a connection failed to a server
- after adding a foreign server connection force to keep it a minimum 5 sec
2024-11-01 12:33:29 +01:00
..
dialer/ws [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
addr.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
client_test.go Fix blocked net.Conn Close call (#2600) 2024-09-14 10:27:37 +02:00
client.go [client] Fix controller re-connection (#2758) 2024-10-24 11:43:14 +02:00
conn.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
doc.go [relay] Feature/relay integration (#2244) 2024-09-08 12:06:14 +02:00
guard.go [client] Fix controller re-connection (#2758) 2024-10-24 11:43:14 +02:00
manager_test.go Fix unused servers cleanup (#2826) 2024-11-01 12:33:29 +01:00
manager.go Fix unused servers cleanup (#2826) 2024-11-01 12:33:29 +01:00
picker_test.go Fix unused servers cleanup (#2826) 2024-11-01 12:33:29 +01:00
picker.go Exit from processConnResults after all tries (#2621) 2024-09-19 13:49:28 +02:00