Merge pull request #4202 from yang-g/channel_args

Give the security_connector server's channel_args
pull/4056/merge
Craig Tiller 9 years ago
commit b7c9d896d6
  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. */

@ -234,6 +234,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