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

[ISSUE #6866] Move the judgment logic of grpc TLS mode to improve the scalability of ProtocolNegotiator #6867

Merged
merged 6 commits into from
Jun 8, 2023

Conversation

dingshuangxi888
Copy link
Contributor

Support dynamic modification of grpc TLS mode to improve the scalability of ProtocolNegotiator

Which Issue(s) This PR Fixes

Fixes #6866

Brief Description

Support dynamic modification of grpc TLS mode to improve the scalability of ProtocolNegotiator

How Did You Test This Change?

Yes.

this.ssl = ssl;
this.plaintext = plaintext;
public PortUnificationServerHandler(GrpcHttp2ConnectionHandler grpcHandler) {
this.ssl = InternalProtocolNegotiators.serverTls(loadSslContext())
Copy link
Contributor

@xdkxlk xdkxlk Jun 7, 2023

Choose a reason for hiding this comment

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

SslContext is only need to loaded once

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it has been fixed, please review again.

@dingshuangxi888 dingshuangxi888 changed the title [ISSUE #6866] Support dynamic modification of grpc TLS mode to improve the scalability of ProtocolNegotiator [ISSUE #6866] Move the judgment logic of grpc TLS mode to improve the scalability of ProtocolNegotiator Jun 7, 2023
@xdkxlk xdkxlk merged commit 4d82b30 into apache:develop Jun 8, 2023
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.

[Enhancement] Move the judgment logic of grpc TLS mode to improve the scalability of ProtocolNegotiator
2 participants