diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-06-08 18:51:27 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-06-08 18:51:27 -0700 |
commit | 21dbaab4be595bc2f34890e92f3656a61694e522 (patch) | |
tree | b002e166e75369fc8dc8e4110c8fede23dbcda19 /include | |
parent | fdb72b0bf89c8eecfe14587177abfb039cc22047 (diff) |
Add channel arg to enable/disable http proxy
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/impl/codegen/grpc_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |