From 2ebd59436d74a8809fdc7381e65d6e17a24ec8ae Mon Sep 17 00:00:00 2001 From: Doug Fawley Date: Wed, 7 Sep 2022 14:58:06 +0000 Subject: [PATCH] Documentation/proxy: update due to Go 1.16 behavior change (#5630) --- Documentation/proxy.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/proxy.md b/Documentation/proxy.md index 8fd6ee52..189cdfbc 100644 --- a/Documentation/proxy.md +++ b/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 @@ -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). \ No newline at end of file +[`WithDialer`](https://godoc.org/google.golang.org/grpc#WithDialer).