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

Fixed proxy issue when using WPAD on Windows 8.1+ #722

Merged
merged 1 commit into from
May 18, 2018
Merged

Fixed proxy issue when using WPAD on Windows 8.1+ #722

merged 1 commit into from
May 18, 2018

Conversation

tbarnekov
Copy link
Contributor

If IE was set to use Web-Proxy Auto-Dicovery (WPAD) on Windows 8.1 or newer, a request would fail with "Settings proxy options: 12011: The option value cannot be set" when trying to set the proxy for the request.

The new WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY doesn't allow manually specifying the proxy by using WinHttpSetOption.

Please note that the error is only triggered if the executable has a manifest specifying support for Windows 8.1+. Otherwise the calling process will run in Windows Vista compatibility mode, and not trigger the error.

@msftclas
Copy link

msftclas commented Mar 23, 2018

CLA assistant check
All CLA requirements met.

@scissorrunner
Copy link

When this will be merged to master? I've encountered this issue as well, and would prefer not to have to run in Windows 7 compatibility mode.

@ras0219-msft
Copy link
Contributor

Thanks for the PR!

@ras0219-msft ras0219-msft merged commit 68b0ddf into microsoft:master May 18, 2018
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.

4 participants