Repository navigation
[improve] let tlsoptions include std tlsconfig - #1293
Merged
Merged
Conversation
nodece
reviewed
Sep 29, 2024
reedkuang
force-pushed
the
container_std_tlsconfig
branch
from
September 29, 2024 14:07
984e11f to
77201b3
Compare
Signed-off-by: lookupman <[email protected]>
reedkuang
force-pushed
the
container_std_tlsconfig
branch
from
September 29, 2024 14:19
77201b3 to
3f83f50
Compare
nodece
approved these changes
Oct 1, 2024
hezhangjian
approved these changes
Oct 2, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
I propose to incorporate the standard library's tlsconfig into tlsoptions to accommodate specific TLS configuration requirements that are not currently supported. There are scenarios, particularly in private cloud environments, where domain names may not be available, necessitating the ability to skip domain validation or implement custom validation logic.
By integrating the tlsconfig from the standard library into tlsoptions, we can ensure compatibility while extending the functionality to meet these specialized needs. This enhancement will provide users with greater flexibility in configuring their TLS settings, making it more aligned with the way tlsconfig is passed in Go.
Of course this is for discussion only and does not cover all the code