Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix proxy auto detect not utilizing callbacks #4097

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

Merged

Conversation

implausible
Copy link
Contributor

When using an authenticated proxy and setting proxy_options type to GIT_PROXY_AUTO, the credentials, certificate check, and payload are discarded. The implication is users will not be prompted for credentials when proxy type is set to auto. I've fixed this by transferring the credentials, certificate_check, and payload to the new struct when in apply_proxy_config.

@carlosmn
Copy link
Member

Looks sensible, thanks!

@carlosmn carlosmn merged commit 9b1260d into libgit2:master May 20, 2017
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