aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar Juanli Shen <juanlishen@google.com>2019-01-03 16:18:01 -0800
committerGravatar Juanli Shen <juanlishen@google.com>2019-01-03 16:18:01 -0800
commit03431b4f696387e34d6c438069a42ce56e269f04 (patch)
treef4935e7d9da6f334f4f982545248f3691cd3d788 /src/core/lib
parent2dda0bb21bbe6e0914cd12fbf3ffa013111cc8a3 (diff)
Remove filters from subchannel args
Diffstat (limited to 'src/core/lib')
-rw-r--r--src/core/lib/surface/channel_init.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/lib/surface/channel_init.h b/src/core/lib/surface/channel_init.h
index f01852473b..d17a721606 100644
--- a/src/core/lib/surface/channel_init.h
+++ b/src/core/lib/surface/channel_init.h
@@ -45,6 +45,11 @@ void grpc_channel_init_init(void);
/// registration order (in the case of a tie).
/// Stages are registered against one of the pre-determined channel stack
/// types.
+/// If the channel stack type is GRPC_CLIENT_SUBCHANNEL, the caller should
+/// ensure that subchannels with different filter lists will always have
+/// different channel args. This requires setting a channel arg in case the
+/// registration function relies on some condition other than channel args to
+/// decide whether to add a filter or not.
void grpc_channel_init_register_stage(grpc_channel_stack_type type,
int priority,
grpc_channel_init_stage stage_fn,