Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: honor
http_proxy
environment variables #1111base: master
Are you sure you want to change the base?
feat: honor
http_proxy
environment variables #1111Changes from 12 commits
5a42813
9565c21
3abce76
32a9d60
2a8df33
8081074
0d3e09c
c73f7f1
81abb92
d6edb12
c3a7575
fb46808
aa1c8c2
86b1f6c
a38ea1f
8015666
59f192e
95a08e3
26966f5
dd78ce5
da3c91e
0259fe8
2ffd6d1
5f88d31
3cfefb3
3692328
718af59
4a97426
8411d8b
4d63147
0c64f82
b78aa92
75f7edf
576b8da
0a1a9d3
429cf7c
40482c4
391fba1
d44ae35
61f3ce2
f65939b
7b8a3e9
234661c
b9f07cd
3e54dc4
49c335d
c0cce33
f877b67
46ad5b0
a2508cd
1b857ec
fedd7fe
a526df1
142acef
882c640
969ed41
5bad4d4
45a9f35
93678e0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this new option, I'm not sure we still need to support
no_proxy
; if users want to use the environment variable value in their own code, they can just not set this flag to true (which is the default anyway).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes and no. You always have to consider that this is a feature that the users of our users require from them.
So, for instance, if your application ignores the
http_proxy
env-vars, your users don't care about the topic and accept that they have to manually configure the proxy config for that application (or even have no proxy config at all).At some point, you might provide a UI to your users that does something like the following:
You can route this directly to our proposed options interface. However, once your users have configured the app to read from the environment, they will want to stay with it because it allows them to have a centrally managed proxy configuration rather than defining it separately in every application.
This is where
no_proxy
enters the picture. So, yes, resetting the proxy config of that app solves the problem, but then the users of our users are essentially back to square 1. Again, this is not a requirement for an initial implementation of that feature but a likely follow-up.