Update API from merge.

pull/7611/head
Mark D. Roth 8 years ago
parent 65c6f2c75d
commit e106570dc3
  1. 4
      src/core/ext/transport/chttp2/client/insecure/channel_create.c
  2. 4
      src/core/ext/transport/chttp2/client/secure/secure_channel_create.c

@ -193,8 +193,8 @@ static grpc_subchannel *client_channel_factory_create_subchannel(
c->handshake_mgr = grpc_handshake_manager_create(); c->handshake_mgr = grpc_handshake_manager_create();
if (f->http_proxy != NULL) { if (f->http_proxy != NULL) {
grpc_handshake_manager_add( grpc_handshake_manager_add(
grpc_http_connect_handshaker_create(f->http_proxy, args->server_name), c->handshake_mgr,
c->handshake_mgr); grpc_http_connect_handshaker_create(f->http_proxy, args->server_name));
} }
args->args = final_args; args->args = final_args;
s = grpc_subchannel_create(exec_ctx, &c->base, args); s = grpc_subchannel_create(exec_ctx, &c->base, args);

@ -262,8 +262,8 @@ static grpc_subchannel *client_channel_factory_create_subchannel(
c->handshake_mgr = grpc_handshake_manager_create(); c->handshake_mgr = grpc_handshake_manager_create();
if (f->http_proxy != NULL) { if (f->http_proxy != NULL) {
grpc_handshake_manager_add( grpc_handshake_manager_add(
grpc_http_connect_handshaker_create(f->http_proxy, args->server_name), c->handshake_mgr,
c->handshake_mgr); grpc_http_connect_handshaker_create(f->http_proxy, args->server_name));
} }
gpr_mu_init(&c->mu); gpr_mu_init(&c->mu);
gpr_ref_init(&c->refs, 1); gpr_ref_init(&c->refs, 1);

Loading…
Cancel
Save