Respect NO_PROXY env var (#33742)
Closes #22991 Release Notes: - Added support for respecting the NO_PROXY environment variable when any HTTP proxy is configured. For the exact NO_PROXY env var strings that are supported, see [NoProxy in the reqwest docs](https://docs.rs/reqwest/latest/reqwest/struct.NoProxy.html#method.from_env). --------- Co-authored-by: Peter Tripp <peter@zed.dev>
This commit is contained in:
parent
c15d02454e
commit
903212b7f5
3 changed files with 7 additions and 3 deletions
|
@ -1784,7 +1784,8 @@
|
|||
// `socks5h`. `http` will be used when no scheme is specified.
|
||||
//
|
||||
// By default no proxy will be used, or Zed will try get proxy settings from
|
||||
// environment variables.
|
||||
// environment variables. If certain hosts should not be proxied,
|
||||
// set the `no_proxy` environment variable and provide a comma-separated list.
|
||||
//
|
||||
// Examples:
|
||||
// - "proxy": "socks5h://localhost:10808"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue