Skip to content

Fix proxy auto detect not utilizing callbacks#4097

Merged
carlosmn merged 1 commit intolibgit2:masterfrom
implausible:fix/auto-detect-proxy-callbacks
May 20, 2017
Merged

Fix proxy auto detect not utilizing callbacks#4097
carlosmn merged 1 commit intolibgit2:masterfrom
implausible:fix/auto-detect-proxy-callbacks

Conversation

@implausible
Copy link
Copy Markdown
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
Copy Markdown
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