diff options
author | 2017-01-09 09:43:47 -0800 | |
---|---|---|
committer | 2017-01-09 09:43:47 -0800 | |
commit | 6cf58c81731343e0ffb134febd3e576425399e5e (patch) | |
tree | 625d89baf64b639a4c8c91c76a9cfdc4e58ce1ff /src/core/lib/surface/init.c | |
parent | 38b95b3a1515e31c83e23dd211e74ff9a7970c39 (diff) | |
parent | 1f0f23cc5aa8f131b7ef3aae982cffb88d1f19fa (diff) |
Merge pull request #9129 from markdroth/handshaker_plugin
Handshaker plugin mechanism
Diffstat (limited to 'src/core/lib/surface/init.c')
-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 e20e602547..f61bf1582e 100644 --- a/src/core/lib/surface/init.c +++ b/src/core/lib/surface/init.c @@ -44,6 +44,7 @@ #include "src/core/lib/channel/compress_filter.h" #include "src/core/lib/channel/connected_channel.h" #include "src/core/lib/channel/deadline_filter.h" +#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/message_size_filter.h" @@ -204,6 +205,8 @@ void grpc_init(void) { grpc_executor_init(); gpr_timers_global_init(); grpc_cq_global_init(); + grpc_handshaker_factory_registry_init(); + grpc_security_init(); for (i = 0; i < g_number_of_plugins; i++) { if (g_all_of_the_plugins[i].init != NULL) { g_all_of_the_plugins[i].init(); @@ -238,6 +241,7 @@ void grpc_shutdown(void) { } } grpc_mdctx_global_shutdown(&exec_ctx); + grpc_handshaker_factory_registry_shutdown(&exec_ctx); } gpr_mu_unlock(&g_init_mu); grpc_exec_ctx_finish(&exec_ctx); |