HttpClient.proxyIgnore

List of hosts or ips, optionally including a port, where not to proxy.

Each entry may be one of the following formats: - 127.0.0.1 (IPv4, any port) - 127.0.0.1:1234 (IPv4, specific port) - 127.0.0.1/8 (IPv4 range / CIDR block, any port) - [::1] (IPv6, any port) - [::1]:1234 (IPv6, specific port) - * (all hosts and ports, basically don't proxy at all anymore) - .domain.name, domain.name (don't proxy the specified domain, leading dots are stripped and subdomains are also not proxied) - .domain.name:1234, domain.name:1234 (same as above, with specific port)

No DNS resolution or regex is done in this list.

See https://about.gitlab.com/blog/2021/01/27/we-need-to-talk-no-proxy/

class HttpClient
string[] proxyIgnore;

Meta

History

Added April 13, 2022