Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the correct connect function to detect online status #7774

Merged
merged 1 commit into from
Mar 7, 2025
Merged

Conversation

Pururun
Copy link
Contributor

@Pururun Pururun commented Mar 7, 2025

We are using connect(address, port) but we should use connect(address) this is because the connect(address, port) does not throw SocketException if the public address is not reachable.


This change is Reviewable

@Pururun Pururun requested review from kl, Rawa and albin-mullvad March 7, 2025 12:17
@Pururun Pururun added the Android Issues related to Android label Mar 7, 2025
Copy link
Contributor

@Rawa Rawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@Rawa Rawa merged commit ff26d0e into main Mar 7, 2025
29 checks passed
@Rawa Rawa deleted the fix-vpn-online branch March 7, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Issues related to Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants