diff options
author | Craig Tiller <ctiller@google.com> | 2016-04-06 14:03:03 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-04-06 14:03:03 -0700 |
commit | 30e53cd4c491b4d80d1c95a567ab7bda2db5e51d (patch) | |
tree | 67382563297d5b31c07c9376422510486db2e00f | |
parent | 702f3635c22a319faedbeec0d39d2204d4a8011b (diff) |
Experimental wrapped language fix
-rw-r--r-- | src/core/ext/client_config/client_config_plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ext/client_config/client_config_plugin.c b/src/core/ext/client_config/client_config_plugin.c index 08f0790234..5e31613420 100644 --- a/src/core/ext/client_config/client_config_plugin.c +++ b/src/core/ext/client_config/client_config_plugin.c @@ -57,7 +57,8 @@ static bool set_default_host_if_unset(grpc_channel_stack_builder *builder, const grpc_channel_args *args = grpc_channel_stack_builder_get_channel_arguments(builder); for (size_t i = 0; i < args->num_args; i++) { - if (0 == strcmp(args->args[i].key, GRPC_ARG_DEFAULT_AUTHORITY)) { + if (0 == strcmp(args->args[i].key, GRPC_ARG_DEFAULT_AUTHORITY) || + 0 == strcmp(args->args[i].key, GRPC_SSL_TARGET_NAME_OVERRIDE_ARG)) { return true; } } |