|
|
|
@ -75,8 +75,6 @@ ABSL_FLAG(absl::optional<bool>, grpc_not_use_system_ssl_roots, {}, |
|
|
|
|
"Disable loading system root certificates."); |
|
|
|
|
ABSL_FLAG(absl::optional<std::string>, grpc_ssl_cipher_suites, {}, |
|
|
|
|
"A colon separated list of cipher suites to use with OpenSSL"); |
|
|
|
|
ABSL_FLAG(absl::optional<bool>, grpc_absl_logging, {}, |
|
|
|
|
"Use absl logging from within gpr_log."); |
|
|
|
|
|
|
|
|
|
namespace grpc_core { |
|
|
|
|
|
|
|
|
@ -94,8 +92,6 @@ ConfigVars::ConfigVars(const Overrides& overrides) |
|
|
|
|
not_use_system_ssl_roots_(LoadConfig( |
|
|
|
|
FLAGS_grpc_not_use_system_ssl_roots, "GRPC_NOT_USE_SYSTEM_SSL_ROOTS", |
|
|
|
|
overrides.not_use_system_ssl_roots, false)), |
|
|
|
|
absl_logging_(LoadConfig(FLAGS_grpc_absl_logging, "GRPC_ABSL_LOGGING", |
|
|
|
|
overrides.absl_logging, true)), |
|
|
|
|
dns_resolver_(LoadConfig(FLAGS_grpc_dns_resolver, "GRPC_DNS_RESOLVER", |
|
|
|
|
overrides.dns_resolver, "")), |
|
|
|
|
verbosity_(LoadConfig(FLAGS_grpc_verbosity, "GRPC_VERBOSITY", |
|
|
|
@ -147,8 +143,7 @@ std::string ConfigVars::ToString() const { |
|
|
|
|
"\"", ", default_ssl_roots_file_path: ", "\"", |
|
|
|
|
absl::CEscape(DefaultSslRootsFilePath()), "\"", |
|
|
|
|
", not_use_system_ssl_roots: ", NotUseSystemSslRoots() ? "true" : "false", |
|
|
|
|
", ssl_cipher_suites: ", "\"", absl::CEscape(SslCipherSuites()), "\"", |
|
|
|
|
", absl_logging: ", AbslLogging() ? "true" : "false"); |
|
|
|
|
", ssl_cipher_suites: ", "\"", absl::CEscape(SslCipherSuites()), "\""); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} // namespace grpc_core
|
|
|
|
|