mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-15 19:31:06 +01:00
0e95f16cdd
If a peer connection switches from Relayed to ICE P2P, the Relayed proxy still consumes the data the other peer sends. Because the proxy is operating, the WireGuard switches back to the Relayed proxy automatically, thanks to the roaming feature. Extend the Proxy implementation with pause/resume functions. Before switching to the p2p connection, pause the WireGuard proxy operation to prevent unnecessary package sources. Consider waiting some milliseconds after the pause to be sure the WireGuard engine already processed all UDP msg in from the pipe. |
||
---|---|---|
.. | ||
conn_monitor.go | ||
conn_status_test.go | ||
conn_status.go | ||
conn_test.go | ||
conn.go | ||
env_config.go | ||
error_test.go | ||
error.go | ||
handshaker.go | ||
listener.go | ||
notifier_test.go | ||
notifier.go | ||
signaler.go | ||
status_test.go | ||
status.go | ||
stdnet_android.go | ||
stdnet.go | ||
worker_ice.go | ||
worker_relay.go |