diff options
| author | luwenpeng <[email protected]> | 2023-12-29 17:25:18 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2024-01-02 18:47:49 +0800 |
| commit | cbd98507a21d59ceab7e66cf6dfb3a851571d7aa (patch) | |
| tree | fddad27246eaed74b25c0b2036384c95773b03b7 /platform/src/proxy.cpp | |
| parent | 9d3dcce1abdbd2f3f7a6d6062d4e8dc960b47997 (diff) | |
TSG-18285 TFE的Packet IO模块支持重复流量识别
Diffstat (limited to 'platform/src/proxy.cpp')
| -rw-r--r-- | platform/src/proxy.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp index 11d5cb4..fbb889c 100644 --- a/platform/src/proxy.cpp +++ b/platform/src/proxy.cpp @@ -53,6 +53,7 @@ #include <watchdog_tfe.h> #include <key_keeper.h> #include <watchdog_3rd_device.h> +#include <timestamp.h> /* Breakpad */ #include <MESA/breakpad_mini.h> @@ -296,6 +297,7 @@ static void __gc_handler_cb(evutil_socket_t fd, short what, void * arg) packet_io_fs_dump(ctx->kni_v4_acceptor->packet_io_fs); FS_passive_output(ctx->fs_handle); + timestamp_update(); return; } @@ -691,6 +693,8 @@ int main(int argc, char * argv[]) struct timeval gc_delay = {statsd_cycle, 0}; evtimer_add(g_default_proxy->gcev, &gc_delay); + timestamp_update(); + /* WORKER THREAD CTX Create */ tfe_proxy_work_thread_create_ctx(g_default_proxy); tfe_proxy_acceptor_init(g_default_proxy, main_profile); |
