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

Allow the config API consumer to modify the serv/client default configs #45

Merged
merged 2 commits into from
Jan 31, 2018

Conversation

n4ss
Copy link
Contributor

@n4ss n4ss commented Jan 30, 2018

We need to adjust adjust the TLS minimum version from the server default's TLS config in the engine without breaking the interface in go-connections.

It's already possible to modify the more complete Server() configuration through the options parameter but not the ServerDefault one so we added a variadic modifier parameter.

ps: thanks @vdemeester.

cc @thaJeztah @vieux

Signed-off-by: Nassim 'Nass' Eddequiouaq eddequiouaq.nassim@gmail.com

… configs

Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com>
Copy link
Collaborator

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐻

@thaJeztah
Copy link
Member

Should we have a minimal unit-test that sets some defaults in https://github.com/n4ss/go-connections/blob/5bd7d320e8c44eaa221c55748c646a0b74a04c7e/tlsconfig/config_test.go ?

@n4ss
Copy link
Contributor Author

n4ss commented Jan 30, 2018

@thaJeztah of course, will fix!

Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@n4ss
Copy link
Contributor Author

n4ss commented Jan 31, 2018

MY tests are successful, :D

screen shot 2018-01-30 at 4 23 28 pm

@vdemeester
Copy link
Collaborator

fwiw it's green on my linux machine(s), merging 😉

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.

None yet

3 participants