diff options
| author | Lu Qiuwen <[email protected]> | 2018-11-04 18:30:33 +0800 |
|---|---|---|
| committer | Lu Qiuwen <[email protected]> | 2018-11-04 18:30:33 +0800 |
| commit | 2d02343b505e721818bfb75763961c8d65eee174 (patch) | |
| tree | 02d5f5ee65dc6878c0c4a4209f241bfb0dbdcb2d /platform/src/proxy.cpp | |
| parent | adcd1640bf6ba738864691de0d077c1f8c04fa85 (diff) | |
Close #65 修正进入GC队列的HTTP Session写日志时触发的连接非法段错误
Diffstat (limited to 'platform/src/proxy.cpp')
| -rw-r--r-- | platform/src/proxy.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp index 93cb4f2..c95d092 100644 --- a/platform/src/proxy.cpp +++ b/platform/src/proxy.cpp @@ -397,6 +397,7 @@ struct event_base * tfe_proxy_get_work_thread_evbase(unsigned int thread_id) assert(thread_id < g_default_proxy->nr_work_threads); return g_default_proxy->work_threads[thread_id]->evbase; } + struct event_base * tfe_proxy_get_gc_evbase(void) { return g_default_proxy->evbase; @@ -406,6 +407,7 @@ screen_stat_handle_t tfe_proxy_get_fs_handle(void) { return g_default_proxy->fs_handle; } + int tfe_proxy_ssl_add_trust_ca(const char* pem_file) { return ssl_manager_add_trust_ca(g_default_proxy->ssl_mgr_handler, pem_file); |
