tcp stream使用ssl stream提供的函数输出ssl错误日志。

This commit is contained in:
zhengchao
2019-02-26 19:47:16 +06:00
parent 05c550e46b
commit f349d1254f
3 changed files with 4 additions and 11 deletions

View File

@@ -11,6 +11,7 @@ struct ssl_mgr;
struct ssl_mgr * ssl_manager_init(const char * ini_profile, const char * section, struct event_base * ev_base_gc,
void * logger);
void ssl_manager_destroy(struct ssl_mgr * mgr);
void ssl_stream_log_error(struct bufferevent * bev, enum tfe_conn_dir dir, struct ssl_mgr* mgr);
struct ssl_stream * ssl_upstream_create_result_release_stream(future_result_t * result);
struct bufferevent * ssl_upstream_create_result_release_bev(future_result_t * result);