Give the security_connector server's channel_args

pull/4202/head
yang-g 9 years ago
parent 9c256980ed
commit dd7c1ae71d
  1. 1
      src/core/security/security_connector.h
  2. 1
      src/core/security/server_secure_chttp2.c

@ -86,6 +86,7 @@ struct grpc_security_connector {
int is_client_side;
const char *url_scheme;
grpc_auth_context *auth_context; /* Populated after the peer is checked. */
const grpc_channel_args *channel_args; /* Server side only. */
};
/* Refcounting. */

@ -236,6 +236,7 @@ int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr,
creds->type);
goto error;
}
sc->channel_args = grpc_server_get_channel_args(server);
/* resolve address */
resolved = grpc_blocking_resolve_address(addr, "https");

Loading…
Cancel
Save