feat: add support for HTTPS_PROXY#306
feat: add support for HTTPS_PROXY#306denysvitali wants to merge 1 commit intofullstorydev:masterfrom
Conversation
This commit adds support for the HTTPS_PROXY environment variable. At the moment the NO_PROXY environment variable is ignored, please be aware of that! This should close fullstorydev#166
|
Thanks a lot for the PR! |
|
Hi @denysvitali thanks for the contribution. Is there a reason we'd need a new third party lib instead of using Go's native proxying? |
|
can confirm this is working great for us - would love to see it merged 👍 |
https://github.com/mwitkow/go-http-dialer README explains it:
net/proxy cannot be used here AFAIK because you can't have a dialer that uses TCP over HTTP. The only way to do it is to use a SOCKS5 proxy. |
|
I think I'd be trivially fine with a patch to just change |
|
Release with this patch: https://github.com/L11R/grpcurl/releases/tag/v1.8.8 |
|
Hi, what exactly is the status of this patch? So was this patch not carried forward, or did it somehow change and require different configuration? (Incidentally, the patch in 1.8.8 did not work on Windows) |
This commit adds support for the
HTTPS_PROXYenvironment variable.At the moment the
NO_PROXYenvironment variable is ignored, pleasebe aware of that!
This should close #166
On top of that, this adds support for
SOCKS_PROXYvia the ProxyFromEnvironment method ofgolang.org/x/net/proxy