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

Modify local TunnelKit's handling of hasBetterPath using NWPathMonitor #338

Merged
merged 2 commits into from
Sep 23, 2020

Conversation

roop
Copy link
Collaborator

@roop roop commented Sep 19, 2020

This is intended to fix #311, but it's not clear yet whether it actually fixes it.

This uses NWPathMonitor to figure out when a hasBetterPath change should trigger a reconnection. Since I've not been able to reproduce the reconnection issue well, I've implemented what I think would be a fix, without really being able to verify that it works. So, this PR is made against a new "experimental" branch instead of master. Once merged to "experimental" after review, @efef can build with that and verify the fix.

This PR also exposes an option in the app's Preferences to turn the fix on/off.

@roop roop changed the base branch from master to experimental September 21, 2020 05:58
@roop roop changed the title Draft: Modify local TunnelKit's handling of hasBetterPath using NWPathMonitor Modify local TunnelKit's handling of hasBetterPath using NWPathMonitor Sep 21, 2020
@roop roop requested review from johankool and jeroenleenarts and removed request for johankool September 21, 2020 06:00
@roop roop marked this pull request as ready for review September 21, 2020 06:00
@roop roop requested a review from joosth9n September 21, 2020 06:05
Copy link
Collaborator

@jeroenleenarts jeroenleenarts left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me. We have to be aware that these changes directly in the Pods dir will be overwritten with every pod update.

@roop roop merged commit 3a3f6ac into eduvpn:experimental Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants