Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat 166: support http and https proxy from environment variable of http_proxy and https_proxy #487

Closed
wants to merge 1 commit into from

Conversation

LinPr
Copy link

@LinPr LinPr commented Sep 27, 2024

description

support http and https proxy, the added proxy file literally copyed form grpc-go source file
https://github.com/grpc/grpc-go/blob/master/internal/transport/proxy.go,
and just modify the dialer, if env http_proxy or https proxy is defined, it will try to dial the proxy address rather than the real target address

relate

#480
#166

…form grpc-go source file google.golang.org/grpc/internal/transport/proxy.go, and just modify the dialer, if env http_proxy or https proxy is defined, it will try to dial the proxy address rather than the real target address
@LinPr LinPr closed this Sep 27, 2024
@LinPr LinPr reopened this Sep 27, 2024
@LinPr LinPr changed the title feat 166: sunpport http and https proxy from environment variable of http_proxy and https_proxy feat 166: support http and https proxy from environment variable of http_proxy and https_proxy Sep 27, 2024
@nmische
Copy link
Contributor

nmische commented Sep 28, 2024

This is very similar my proposal in #481. That said I feel like #480 may be the better approach.

@LinPr
Copy link
Author

LinPr commented Sep 28, 2024

This is very similar my proposal in #481. That said I feel like #480 may be the better approach.
Ohh yeah,anyway,no matter what kind of solution is, the proxy is really a essential function that the grpcurl tool needs to implement. It can be applied to many scenarios!

@dragonsinth
Copy link
Member

#480

@dragonsinth dragonsinth closed this Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants