From dfbf607ccb2a9871ee6cb2dfc8692dcbc02427b4 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Fri, 30 Mar 2018 17:52:42 -0700 Subject: Introduce channel arg to disable authority filter --- include/grpc/impl/codegen/grpc_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/grpc/impl/codegen') diff --git a/include/grpc/impl/codegen/grpc_types.h b/include/grpc/impl/codegen/grpc_types.h index 03aaa9fae4..022be5fec4 100644 --- a/include/grpc/impl/codegen/grpc_types.h +++ b/include/grpc/impl/codegen/grpc_types.h @@ -333,6 +333,9 @@ typedef struct { /** Channel arg that carries the bridged objective c object for custom metrics * logging filter. */ #define GRPC_ARG_MOBILE_LOG_CONFIG "grpc.mobile_log_config" +/** If non-zero, client authority filter is disabled for the channel */ +#define GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER \ + "grpc.disable_client_authority_filter" /** \} */ /** Result of a grpc call. If the caller satisfies the prerequisites of a -- cgit v1.2.3