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

Disallow configuring a custom root CA with a custom RoundTripper #593

Merged
merged 4 commits into from
Oct 31, 2024

Conversation

yec-akamai
Copy link
Contributor

📝 Description

Disallow that presenting custom root CA and custom http transport together. Print a warning and return when this happens.

✔️ How to Test

make testunit

@yec-akamai yec-akamai added the improvement for improvements in existing functionality in the changelog. label Oct 24, 2024
@yec-akamai yec-akamai requested a review from a team as a code owner October 24, 2024 18:06
@yec-akamai yec-akamai requested review from lgarber-akamai and ykim-akamai and removed request for a team October 24, 2024 18:06
client.go Outdated Show resolved Hide resolved
Copy link
Contributor

@lgarber-akamai lgarber-akamai left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for addressing my feedback!

Copy link
Contributor

@ykim-akamai ykim-akamai left a comment

Choose a reason for hiding this comment

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

LGTM

@yec-akamai yec-akamai merged commit b15b5a8 into main Oct 31, 2024
7 checks passed
@zliang-akamai zliang-akamai deleted the TPT-3218/disallow-custom-transport branch December 12, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement for improvements in existing functionality in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants