diff options
author | Mark D. Roth <roth@google.com> | 2017-02-01 08:12:18 -0800 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2017-02-01 08:12:18 -0800 |
commit | cddc647dc8f45402b7eeb2730d0fc4a8f1beb773 (patch) | |
tree | 17ee4a48e9d753cd8fe76599da560fd2f54b289b /src | |
parent | 9b0cc4c6c06993675a4e808ee2c8362cca50f286 (diff) |
Use full URI for resolver.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ext/client_channel/client_channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/client_channel/client_channel.c b/src/core/ext/client_channel/client_channel.c index 254e5ea5da..d7909e58d6 100644 --- a/src/core/ext/client_channel/client_channel.c +++ b/src/core/ext/client_channel/client_channel.c @@ -553,7 +553,7 @@ static grpc_error *cc_init_channel_elem(grpc_exec_ctx *exec_ctx, grpc_uri_destroy(uri); chand->proxy_name = grpc_get_http_proxy_server(); char *name_to_resolve = - chand->proxy_name == NULL ? chand->server_name : chand->proxy_name; + chand->proxy_name == NULL ? arg->value.string : chand->proxy_name; chand->resolver = grpc_resolver_create( exec_ctx, name_to_resolve, args->channel_args, chand->interested_parties); if (chand->resolver == NULL) { |