summaryrefslogtreecommitdiffhomepage
path: root/talpid-wireguard/src/connectivity/pinger/mod.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-02-27Use socket instead of ping command when pinging on androidJonatan Rhodin1-9/+3
Previous implementation spawned a process with tokio which in turn registered a signal handler without ONASTACK flag set. When using GO code, all signal handlers needs to have this flag set otherwise a signal might be handled on a goroutine thread which has a small stack and thus can overflow. Reference: DROID-1825 Co-authored-by: David Lönnhager <david.l@mullvad.net>
2025-01-23Refactor connectivity check to be asyncDavid Lönnhager1-2/+3
2024-11-22Check that that tunnel can serve traffic after starting a new tunnelKalle Lindström1-0/+29
- Split up "ConnectivityCheck" into more descriptive types and collect them in a new `connectivity` module. - Fix allow Wireguard-Go tunnel setup to be cancelled - Use retry param in connectivity check