perf: 优化session_ctx减少内存占用; 优化global metrics的结构
This commit is contained in:
@@ -29,7 +29,6 @@ extern marsio_buff_t *marsio_mbuff_dup(marsio_buff_t *m);
|
||||
#define set_metadata(meta, id, offset, is_ctrl, is_decrypt) \
|
||||
{ \
|
||||
memset(&meta, 0, sizeof(meta)); \
|
||||
meta.write_ref = 0; \
|
||||
meta.session_id = id; \
|
||||
meta.raw_data = NULL; \
|
||||
meta.raw_len = 0; \
|
||||
|
||||
Reference in New Issue
Block a user