Skip to content

http_config: Allow customizing TLS config and settings.#748

Merged
bwplotka merged 3 commits intomainfrom
extendtlsconfig
Jan 16, 2025
Merged

http_config: Allow customizing TLS config and settings.#748
bwplotka merged 3 commits intomainfrom
extendtlsconfig

Conversation

@bwplotka
Copy link
Member

We (Google) would love to modify TLS config for custom authorization settings for our environments. Sometimes it means literally using our internal Go tls.Config instead of the created one by this client. This PR adds a minimal change to support a single option to do that, hope that makes sense!

@bwplotka bwplotka requested a review from SuperQ January 16, 2025 09:28
Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>
Copy link
Member

@machine424 machine424 left a comment

Choose a reason for hiding this comment

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

lgtm, thanks.
(ok to change the default from NewTLSConfig to NewTLSConfigWithContext)

@bwplotka bwplotka merged commit 280b0e7 into main Jan 16, 2025
@bwplotka bwplotka deleted the extendtlsconfig branch January 16, 2025 15:26
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.

3 participants