From 542f4cbdfa6f58dd8a07e35663116a08f54170bd Mon Sep 17 00:00:00 2001 From: wangmenglan Date: Tue, 9 May 2023 22:12:38 +0800 Subject: TSG-14930 TFE支持发送控制报文给SAPP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/src/proxy.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'platform/src/proxy.cpp') diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp index 0f159d4..aafd246 100644 --- a/platform/src/proxy.cpp +++ b/platform/src/proxy.cpp @@ -40,6 +40,8 @@ #include #include #include +#include +#include #include #include @@ -53,8 +55,6 @@ #include #include -#include "tfe_metrics.h" - /* Breakpad */ #include @@ -292,7 +292,8 @@ static void __gc_handler_cb(evutil_socket_t fd, short what, void * arg) FS_operate(ctx->fs_handle, ctx->fs_id[i], 0, FS_OP_SET, ATOMIC_READ(&(ctx->stat_val[i]))); } - // global_metrics_dump(ctx->kni_v4_acceptor->acceptor->metrics); + if (ctx->kni_v4_acceptor != NULL) + packet_io_fs_dump(ctx->kni_v4_acceptor->packet_io_fs); FS_passive_output(ctx->fs_handle); return; -- cgit v1.2.3