Fix RPC_CLIENT_TLS_PROTOCOLS setting error. (#11109)

This commit is contained in:
阿魁 2023-09-14 09:37:38 +08:00 committed by GitHub
parent d3e099b0db
commit a170489667
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ public class RpcClientTlsConfig extends TlsConfig {
}
if (properties.containsKey(RpcConstants.RPC_CLIENT_TLS_PROTOCOLS)) {
tlsConfig.setProtocols(RpcConstants.RPC_CLIENT_TLS_PROTOCOLS);
tlsConfig.setProtocols(properties.getProperty(RpcConstants.RPC_CLIENT_TLS_PROTOCOLS));
}
if (properties.containsKey(RpcConstants.RPC_CLIENT_TLS_CIPHERS)) {