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

xds: extend SslContextProviderSupplier to use BaseTlsContext #8146

Merged
merged 1 commit into from
May 5, 2021

Conversation

sanjaypujare
Copy link
Contributor

This is the precursor to the next PR which will use SslContextProviderSupplier on the server side by passing DownstreamTlsContext and the resulting SslContextProviderSupplier will be used in place of DownstreamTlsContext in the translated Listener object.

@sanjaypujare sanjaypujare enabled auto-merge (squash) May 5, 2021 03:31
Comment on lines +94 to +97
if (tlsContext instanceof UpstreamTlsContext) {
tlsContextManager.releaseClientSslContextProvider(sslContextProvider);
} else {
tlsContextManager.releaseServerSslContextProvider(sslContextProvider);
Copy link
Member

Choose a reason for hiding this comment

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

Reuse releaseSslContextProvider()?

@sanjaypujare sanjaypujare merged commit c9e327d into grpc:master May 5, 2021
@sanjaypujare sanjaypujare deleted the lazy-loading-fix branch May 5, 2021 21:46
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants