diff options
author | Yuchen Zeng <y-zeng@users.noreply.github.com> | 2017-03-31 10:59:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-31 10:59:04 -0700 |
commit | 6715a15fe1e766035a671001072dbcf8707be7ba (patch) | |
tree | ca8ac9367acb0f4cd9894d42c0863d746ee0ad6d /src/core/lib/surface | |
parent | 4beb7f2bbcb3d6268b1949a71218a38ef3cf601b (diff) | |
parent | ea2b439bc45f76bc53159df2a3786e076b3b2be4 (diff) |
Merge pull request #10318 from y-zeng/server_channel_max_age
Max age for server channels
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r-- | src/core/lib/surface/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lib/surface/init.c b/src/core/lib/surface/init.c index 91bd014a0e..b46ecac18d 100644 --- a/src/core/lib/surface/init.c +++ b/src/core/lib/surface/init.c @@ -47,6 +47,7 @@ #include "src/core/lib/channel/handshaker_registry.h" #include "src/core/lib/channel/http_client_filter.h" #include "src/core/lib/channel/http_server_filter.h" +#include "src/core/lib/channel/max_age_filter.h" #include "src/core/lib/channel/message_size_filter.h" #include "src/core/lib/debug/trace.h" #include "src/core/lib/http/parser.h" @@ -114,6 +115,9 @@ static void register_builtin_channel_init() { GRPC_SERVER_CHANNEL, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, prepend_filter, (void *)&grpc_server_deadline_filter); grpc_channel_init_register_stage( + GRPC_SERVER_CHANNEL, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, prepend_filter, + (void *)&grpc_max_age_filter); + grpc_channel_init_register_stage( GRPC_CLIENT_SUBCHANNEL, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, prepend_filter, (void *)&grpc_message_size_filter); grpc_channel_init_register_stage( |