Skip to content

fix(proxy): parse per-scheme Windows ProxyServer format - #318

Open
atheerium wants to merge 1 commit into
hyperium:masterfrom
atheerium:fix/windows-proxy-parsing
Open

fix(proxy): parse per-scheme Windows ProxyServer format#318
atheerium wants to merge 1 commit into
hyperium:masterfrom
atheerium:fix/windows-proxy-parsing

Conversation

@atheerium

Copy link
Copy Markdown

...

Windows WinINET registry ProxyServer values can be in per-scheme
format (e.g. "http=127.0.0.1:8080;https=127.0.0.1:8443;socks=127.0.0.1:1080")
rather than a single bare proxy address. Previously the raw value was
assigned verbatim to both http and https proxy fields, which broke
socks= and scheme-specific entries.

Now we parse the value into per-scheme assignments. A socks= entry
maps to the all-schemes proxy bucket, matching WinINET semantics.
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.

1 participant