Close #116 去除根据ClientHello镜像上游SSL版本的功能,增加在连接摘要日志记录SSL版本和SNI的功能

This commit is contained in:
luqiuwen
2019-02-19 15:11:15 +06:00
parent 71f7452413
commit df025b3d9f
3 changed files with 30 additions and 18 deletions

View File

@@ -134,6 +134,10 @@ struct tfe_stream_private
#define STREAM_EVENT_LOG_MAX 8
struct tfe_stream_event_log log_event[STREAM_EVENT_LOG_MAX];
unsigned int nr_log_event;
/* CONNECTION LOG */
char ssl_downstream_info_dump[TFE_STRING_MAX];
char ssl_upstream_info_dump[TFE_STRING_MAX];
};
static inline void * __STREAM_LOGGER(struct tfe_stream_private * _stream)