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

make ssl-insecure-skip-verify keep most DefaultTransport defaults #19

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

ploxiln
Copy link
Owner

@ploxiln ploxiln commented Feb 5, 2019

http.DefaultTransport is not a "zero" http.Transport,
it has a bunch of default settings like timeouts and keepalives

so just change the TLSClientConfig of the existing DefaultTransport
instead of creating a whole new http.Transport

(tested manually locally)

http.DefaultTransport is not a "zero" http.Transport,
it has a bunch of default settings like timeouts and keepalives

so just change the TLSClientConfig of the existing DefaultTransport
instead of creating a whole new http.Transport
@ploxiln ploxiln merged commit 9b660ce into master Feb 5, 2019
@ploxiln ploxiln deleted the insecure_default_transport branch March 4, 2019 18:51
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.

1 participant