-
Notifications
You must be signed in to change notification settings - Fork 52
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
fix: Proxy Agent usage #427
fix: Proxy Agent usage #427
Conversation
The proxy variable will be used correctly. The HTTPS_PROXY / HTTP_PROXY will be used, if PROTOLINT_PROXY is not set. Evaluation takes place: if the remote url starts with https, HTTPS_PROXY will be used, otherwise HTTP_PROXY will be used. This interpretation is questionable, but makes sense in the first place. Closes yoheimuta#426
Hello carsencodes, |
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.
works fine
Great. I just figured out, that this might be odd, if you don't want to use a proxy at all. So I would also add PROTOLINT_NO_PROXY ignoring all proxy settings tonight. |
Maybe useful in airgapped scenarios
Useful for airgapped scenarios
So, no proxy can be disabled in air-gapped scenarios. |
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.
Thank you for the fix 👍
The proxy variable will be used correctly. The HTTPS_PROXY / HTTP_PROXY will be used, if PROTOLINT_PROXY is not set.
Evaluation takes place: if the remote url starts with https, HTTPS_PROXY will be used, otherwise HTTP_PROXY will be used.
This interpretation is questionable, but makes sense in the first place.
Closes #426