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

Always check for new PAC files on darwin. #103

Merged
merged 3 commits into from
Sep 10, 2022
Merged

Conversation

christogav
Copy link
Contributor

This PR suggests a way of using cgo to performantly (< 100uS) pull the auto proxy configuration from the darwin system to ensure always having the current setting.

- Pull code back into Go for smoother debugging
- Add more defensive checks
- Check PAC enabled before attempting to grab PACURL
- Don't free OR retain CONST strings
Copy link
Owner

@samuong samuong left a comment

Choose a reason for hiding this comment

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

Sorry Chris, I didn't notice that you'd pushed a new commit since our last chat. This is awesome, thanks for contributing this!

@samuong samuong merged commit 75b4c56 into samuong:master Sep 10, 2022
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.

2 participants