Review comments

pull/16214/head
yang-g 7 years ago
parent 010ffae0fd
commit e61058c8ba
  1. 2
      src/core/lib/surface/channel_init.h
  2. 2
      src/core/lib/surface/init_secure.cc

@ -43,7 +43,7 @@ enum {
// priority, such as auth filters.
GRPC_CHANNEL_INIT_PRIORITY_MED = 10000,
// For filters that need to be close to top or bottom, such as protocol-level
// filters (client_authority, http-client, http-server) and stats (census).
// filters (client_authority, http-client, http-server).
GRPC_CHANNEL_INIT_PRIORITY_HIGH = 20000,
// For filters that need to be very close to the wire or surface.
GRPC_CHANNEL_INIT_PRIORITY_VERY_HIGH = 30000,

@ -67,7 +67,7 @@ static bool maybe_prepend_server_auth_filter(
}
void grpc_register_security_filters(void) {
// Register the auth client with a low priority to allow the authority
// Register the auth client with a medium priority to allow the authority
// filter -on which the auth filter depends- to be higher on the channel
// stack.
grpc_channel_init_register_stage(GRPC_CLIENT_SUBCHANNEL,

Loading…
Cancel
Save