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);