Use full URI for resolver.

pull/9539/head
Mark D. Roth 8 years ago
parent 9b0cc4c6c0
commit cddc647dc8
  1. 2
      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) {

Loading…
Cancel
Save