Skip to content

Commit

Permalink
Documentation/proxy: update due to Go 1.16 behavior change (#5630)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley committed Sep 7, 2022
1 parent 1530d3b commit 2ebd594
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Documentation/proxy.md
@@ -1,8 +1,9 @@
# Proxy

HTTP CONNECT proxies are supported by default in gRPC. The proxy address can be
specified by the environment variables HTTP_PROXY, HTTPS_PROXY and NO_PROXY (or
the lowercase versions thereof).
specified by the environment variables `HTTPS_PROXY` and `NO_PROXY`. Before Go
1.16, if the `HTTPS_PROXY` environment variable is unset, `HTTP_PROXY` will be
used instead. (Note that these environment variables are case insensitive.)

## Custom proxy

Expand All @@ -12,4 +13,4 @@ connection before giving it to gRPC.

If the default proxy doesn't work for you, replace the default dialer with your
custom proxy dialer. This can be done using
[`WithDialer`](https://godoc.org/google.golang.org/grpc#WithDialer).
[`WithDialer`](https://godoc.org/google.golang.org/grpc#WithDialer).

0 comments on commit 2ebd594

Please sign in to comment.