aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/transport/chttp2/client/insecure
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-07-22 13:24:21 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-07-22 13:24:21 -0700
commite273b033da3f374fe82db0644d9455f890bbb296 (patch)
tree9d343743154a6fa690786384bc07e37cf91d41c6 /src/core/ext/transport/chttp2/client/insecure
parent77613b2094fcbf8352ea595f64396006c73835cd (diff)
Plumb server name down into the subchannel.
Diffstat (limited to 'src/core/ext/transport/chttp2/client/insecure')
-rw-r--r--src/core/ext/transport/chttp2/client/insecure/channel_create.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ext/transport/chttp2/client/insecure/channel_create.c b/src/core/ext/transport/chttp2/client/insecure/channel_create.c
index 800ef59de0..2df4ce1dda 100644
--- a/src/core/ext/transport/chttp2/client/insecure/channel_create.c
+++ b/src/core/ext/transport/chttp2/client/insecure/channel_create.c
@@ -191,7 +191,8 @@ static grpc_subchannel *client_channel_factory_create_subchannel(
char *proxy_server = grpc_get_http_connect_proxy_server_from_args(final_args);
if (proxy_server != NULL) {
grpc_handshake_manager_add(
- grpc_http_connect_handshaker_create(proxy_server), c->handshake_mgr);
+ grpc_http_connect_handshaker_create(proxy_server, args->server_name),
+ c->handshake_mgr);
}
args->args = final_args;
s = grpc_subchannel_create(exec_ctx, &c->base, args);