diff options
| author | luqiuwen <[email protected]> | 2019-06-02 16:29:43 +0800 |
|---|---|---|
| committer | luqiuwen <[email protected]> | 2019-06-02 16:30:59 +0800 |
| commit | 57f5a4d906ff973409ef90fa1ae53fb071d9f410 (patch) | |
| tree | 2d7b490de419e48d02b67eacf2cd904266dbc65e /platform/src/proxy.cpp | |
| parent | e4f490fcd3fa0c004385a92f6bd2d8183122557a (diff) | |
增加sender_scm的初始化调用
Diffstat (limited to 'platform/src/proxy.cpp')
| -rw-r--r-- | platform/src/proxy.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp index fe605ae..46ddc97 100644 --- a/platform/src/proxy.cpp +++ b/platform/src/proxy.cpp @@ -435,6 +435,10 @@ int main(int argc, char * argv[]) tfe_proxy_work_thread_create_ctx(g_default_proxy); tfe_proxy_acceptor_init(g_default_proxy, main_profile); + /* SCM Sender */ + g_default_proxy->scm_sender = sender_scm_init(main_profile, "sender_scm", g_default_logger); + CHECK_OR_EXIT(g_default_proxy->scm_sender != NULL, "Failed at creating scm sender, Exit."); + /* PLUGIN INIT */ unsigned int plugin_iterator = 0; for (struct tfe_plugin * plugin_iter = tfe_plugin_iterate(&plugin_iterator); |
