Skip to content

fix(proxy): handle WinINET IP wildcards - #309

Open
subotac wants to merge 2 commits into
hyperium:masterfrom
subotac:fix/system-proxy-ip-wildcards
Open

fix(proxy): handle WinINET IP wildcards#309
subotac wants to merge 2 commits into
hyperium:masterfrom
subotac:fix/system-proxy-ip-wildcards

Conversation

@subotac

@subotac subotac commented Aug 1, 2026

Copy link
Copy Markdown

Fixes hyperium/hyper#4128.

Normalize IPv4 wildcard patterns returned by WinINET, such as 127.* and 192.168.*, into equivalent CIDR ranges before matching system proxy exclusions.

Standard NO_PROXY parsing remains unchanged.

Tests:

  • cargo test --features client-proxy,client-proxy-system client::proxy::matcher::tests
  • cargo fmt --all --check
  • git diff --check

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.

hyper-util: system proxy on Windows ignores WinINET ProxyOverride IP wildcards (127.* etc.), loopback dials get proxied

1 participant