From 44d3cb5984448fdb34cb5ad2cde9b3de8b338981 Mon Sep 17 00:00:00 2001 From: huangxin Date: Mon, 13 Mar 2023 17:39:33 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=20=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- srcs/opendhcp183/query.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/srcs/opendhcp183/query.cpp b/srcs/opendhcp183/query.cpp index fe5e883..e1ff481 100644 --- a/srcs/opendhcp183/query.cpp +++ b/srcs/opendhcp183/query.cpp @@ -945,14 +945,12 @@ static HTTP_ROUTE_INFO g_routeTable[] = { void opendhcp_init_http_server() { static int added = FALSE; - static uv_thread_t uvThread; static uv_timer_t uvTm; if (!added) { uv_rwlock_init(&g_uvCacheLock); uv_timer_init(get_task_manager(), &uvTm); uv_timer_start(&uvTm, iptvCacheCb, 1000, 1000); - //uv_thread_create(&uvThread, iptvCacheCb, nullptr); for (auto &i : g_routeTable) { PHTTP_ROUTE_INFO p = &i; http_add_route(p->routeName, p->method, p->priority, p->cb, p->pUserData);