From 21dbaab4be595bc2f34890e92f3656a61694e522 Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Fri, 8 Jun 2018 18:51:27 -0700 Subject: Add channel arg to enable/disable http proxy --- include/grpc/impl/codegen/grpc_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/grpc/impl/codegen/grpc_types.h') diff --git a/include/grpc/impl/codegen/grpc_types.h b/include/grpc/impl/codegen/grpc_types.h index 9329c61bf2..a5961857c1 100644 --- a/include/grpc/impl/codegen/grpc_types.h +++ b/include/grpc/impl/codegen/grpc_types.h @@ -336,6 +336,8 @@ typedef struct { /** If non-zero, client authority filter is disabled for the channel */ #define GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER \ "grpc.disable_client_authority_filter" +/** If set to zero, disables use of http proxies. Enabled by default. */ +#define GRPC_ARG_ENABLE_HTTP_PROXY "grpc.enable_http_proxy" /** \} */ /** Result of a grpc call. If the caller satisfies the prerequisites of a -- cgit v1.2.3