From cd2005bdab2dce207c587901af49691a914fb593 Mon Sep 17 00:00:00 2001 From: huangxin Date: Wed, 15 Mar 2023 09:36:16 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=20=E5=85=B3=E9=97=ADvcpe=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E3=80=81=E9=80=80=E5=87=BA=E5=90=91Agent=E5=8F=91?= =?UTF-8?q?=E9=80=81=E9=80=9A=E7=9F=A5=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- srcs/vcpe_main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/srcs/vcpe_main.c b/srcs/vcpe_main.c index 2fb59f3..683193e 100644 --- a/srcs/vcpe_main.c +++ b/srcs/vcpe_main.c @@ -7,7 +7,6 @@ #include "cmdline.h" #include "task_manager.h" #include "init.h" -#include "inet_misc.h" #include "config.h" #include "zlog_module.h" @@ -103,12 +102,13 @@ int main(int argc, char **argv) { pppoe_session_init(); #endif - const char *pStrSetup = proto_create_new(create_app_process_status(1), 200); - inet_http_post_async(config_get_agent_moniter_report_url(), pStrSetup, on_http_response_cb, (void *)pStrSetup); - task_manager_run(); + // const char *pStrSetup = proto_create_new(create_app_process_status(1), 200); + // inet_http_post_async(config_get_agent_moniter_report_url(), pStrSetup, on_http_response_cb, (void *)pStrSetup); - const char *pStrExit = proto_create_new(create_app_process_status(0), 200); - inet_http_post_async(config_get_agent_moniter_report_url(), pStrSetup, on_http_response_cb, (void *)pStrExit); + task_manager_run(); + // + // const char *pStrExit = proto_create_new(create_app_process_status(0), 200); + // inet_http_post_async(config_get_agent_moniter_report_url(), pStrSetup, on_http_response_cb, (void *)pStrExit); while (!is_system_cleanup()) { sleep(1);