summaryrefslogtreecommitdiff
path: root/plugin/protocol/http/src/http_half.cpp
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2022-09-09 10:44:11 +0800
committerfengweihao <[email protected]>2022-09-09 10:44:11 +0800
commitb321486e3fbd27d9e061c607e10c5a4bc5a32e33 (patch)
treec5b059d2f97c7b4fc3f8936e3303a97c14cf275d /plugin/protocol/http/src/http_half.cpp
parente52bafad6bfd6916a1019af562b310bd8b2a8d85 (diff)
TSG-11849 tfe增加从环境变量中读入处理机ip
TSG-11742 IP Libraries统一使用.分隔地理层级 TSG-10722 日志中开始时间从解析层获取
Diffstat (limited to 'plugin/protocol/http/src/http_half.cpp')
-rw-r--r--plugin/protocol/http/src/http_half.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/protocol/http/src/http_half.cpp b/plugin/protocol/http/src/http_half.cpp
index 48b4bfe..658625b 100644
--- a/plugin/protocol/http/src/http_half.cpp
+++ b/plugin/protocol/http/src/http_half.cpp
@@ -1117,6 +1117,7 @@ struct http_session_private * hs_private_create(struct http_connection_private *
__hs_private->hs_public.req = hf_private_req != NULL ? to_hf_public(hf_private_req) : NULL;
__hs_private->hs_public.resp = hf_private_req != NULL ? to_hf_public(hf_private_resp) : NULL;
__hs_private->hs_public.session_id = hc_private->session_id_counter++;
+ __hs_private->hs_public.start_time=time(NULL);
/* HS-PRIVATE*/
__hs_private->hc_private = hc_private;