-
Notifications
You must be signed in to change notification settings - Fork 336
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
Detect whether full-disk access is enabled in the split tunneling view #7098
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 6 of 13 files at r1, all commit messages.
Reviewable status: 6 of 13 files reviewed, 1 unresolved discussion (waiting on @dlon)
talpid-core/src/split_tunnel/macos/process.rs
line 28 at r1 (raw file):
const SHUTDOWN_TIMEOUT: Duration = Duration::from_secs(3); const EARLY_FAIL_TIMEOUT: Duration = Duration::from_millis(100);
Just curious, why was this value lowered from 500 millis to 100 millis? 😊
Code quote:
const EARLY_FAIL_TIMEOUT: Duration = Duration::from_millis(100);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 8 of 13 files at r1, all commit messages.
Reviewable status: 6 of 13 files reviewed, 1 unresolved discussion (waiting on @dlon and @MarkusPettersson98)
talpid-core/src/split_tunnel/macos/process.rs
line 28 at r1 (raw file):
Previously, MarkusPettersson98 (Markus Pettersson) wrote…
Just curious, why was this value lowered from 500 millis to 100 millis? 😊
The process will remain open for this duration if it doesn't exit due to an error (i.e., full-disk access not being granted). 🙈 500 milliseconds is much more noticeable, and I think it is excessive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 2 files at r2, all commit messages.
Reviewable status: 5 of 13 files reviewed, all discussions resolved (waiting on @dlon)
0f495aa
to
240fe6e
Compare
Previously, the app wouldn't detect this and end up in the blocked state. It will now show this information before split tunneling can be enabled:
Fix DES-1185.
This change is