Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Only override TLSClientConfig if set #2913

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

DrJosh9000
Copy link
Contributor

A hopefully minor bug: TLSClientConfig is overridden with conf.TLSConfig in all cases, when we should only really override it if it is set.

If DisableHTTP2 is enabled, we want the default TLSClientConfig with NextProtos set in a particular way. But the unconditional override with conf.TLSConfig nukes it.

Copy link
Contributor

@wolfeidau wolfeidau left a comment

Choose a reason for hiding this comment

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

👍🏻

@DrJosh9000 DrJosh9000 merged commit bc0689e into main Aug 1, 2024
1 check passed
@DrJosh9000 DrJosh9000 deleted the override-tlsclientconfig-if-set branch August 1, 2024 00:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants