|
|
@ -553,7 +553,7 @@ static grpc_error *cc_init_channel_elem(grpc_exec_ctx *exec_ctx, |
|
|
|
grpc_uri_destroy(uri); |
|
|
|
grpc_uri_destroy(uri); |
|
|
|
chand->proxy_name = grpc_get_http_proxy_server(); |
|
|
|
chand->proxy_name = grpc_get_http_proxy_server(); |
|
|
|
char *name_to_resolve = |
|
|
|
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( |
|
|
|
chand->resolver = grpc_resolver_create( |
|
|
|
exec_ctx, name_to_resolve, args->channel_args, chand->interested_parties); |
|
|
|
exec_ctx, name_to_resolve, args->channel_args, chand->interested_parties); |
|
|
|
if (chand->resolver == NULL) { |
|
|
|
if (chand->resolver == NULL) { |
|
|
|