summaryrefslogtreecommitdiff
path: root/plugin/protocol/http2/src/http2_stream.cpp
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2023-12-08 18:12:53 +0800
committerfengweihao <[email protected]>2023-12-08 18:12:53 +0800
commitb801ca9d3b652c9aa494cb3b3fb2e0a5fbe31731 (patch)
tree991624d47cb56565ea2409e43de580d2736cf732 /plugin/protocol/http2/src/http2_stream.cpp
parentf1bf75367902e1e1ad20a96a6ed1aed528f89d6d (diff)
TSG-17840 Proxy适配日志结构变更v4.8.50-20231208
Diffstat (limited to 'plugin/protocol/http2/src/http2_stream.cpp')
-rw-r--r--plugin/protocol/http2/src/http2_stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/protocol/http2/src/http2_stream.cpp b/plugin/protocol/http2/src/http2_stream.cpp
index 13e37e8..15f32fa 100644
--- a/plugin/protocol/http2/src/http2_stream.cpp
+++ b/plugin/protocol/http2/src/http2_stream.cpp
@@ -1270,7 +1270,7 @@ static int tfe_half_session_init(struct tfe_h2_session *h2_session, int32_t stre
struct tfe_h2_half_private *req = h2_session->req;
tfe_session->ops = &http2_session_ops;
tfe_session->req = &req->half_public;
- tfe_session->start_time=time(NULL);
+ gettimeofday(&tfe_session->start_time, NULL);
tfe_session->session_id = stream_id;
}