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

fix: don't discard default transport settings when turning off TLS verification #319

Merged

Conversation

victor-tsykanov
Copy link
Contributor

Overview

This PR fixes the problem of proxy settings being ignored when TLS verification is disabled.

When REGISTRY_SKIP_VERIFY is set, http.Transport options are being overwritten which discards proxy settings applied previously.

Fixes #85

@victor-tsykanov victor-tsykanov requested a review from a team as a code owner February 5, 2024 06:32
@victor-tsykanov victor-tsykanov requested review from sagikazarmark and removed request for a team February 5, 2024 06:32
@github-actions github-actions bot added the size/XS Denotes a PR that changes 0-9 lines label Feb 5, 2024
@victor-tsykanov victor-tsykanov force-pushed the fix-setting-tls-options branch from b11b17f to bbe230c Compare February 5, 2024 06:45
@ramizpolic
Copy link
Member

Thanks for resolving this @victor-tsykanov, much appreciated!

@ramizpolic ramizpolic merged commit aafdb76 into bank-vaults:main Feb 9, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTP_PROXY with REGISTRY_SKIP_VERIFY
2 participants