增加Per Stream摘要日志功能,修正TCP上、下游连接不能联动关闭的问题。

* 增加Per Stream摘要日志功能,记录连接四元组、HTTP URL等关键信息,便于调试;
* 原实现在上游连接关闭时,不能关闭下游连接(反之亦然),现修正。
This commit is contained in:
Lu Qiuwen
2018-09-21 15:03:33 +08:00
parent 244c17fa2e
commit c0d1b9cf63
8 changed files with 240 additions and 68 deletions

View File

@@ -92,3 +92,5 @@ void hf_private_set_session(struct http_half_private * hf_private, struct http_s
struct http_session_private * hs_private_create(struct http_connection_private * hc_private,
struct http_half_private * hf_private_req, struct http_half_private * hf_private_resp);
void hs_private_destory(struct http_session_private * hs_private);