From 2d06355b91a2ec25961d37cdf3c36593038f4d44 Mon Sep 17 00:00:00 2001 From: lxsang Date: Fri, 26 Mar 2021 09:53:27 +0100 Subject: [PATCH] reduce proxy data wait time --- http_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_server.c b/http_server.c index 2fad734..8374650 100644 --- a/http_server.c +++ b/http_server.c @@ -820,7 +820,7 @@ static void *proxy_monitor(void *data) } else { - antd_task_bind_event(task, proxy->sock, 100u, TASK_EVT_ON_TIMEOUT); + antd_task_bind_event(task, proxy->sock, 10u, TASK_EVT_ON_TIMEOUT); } task->handle = proxy_monitor; task->access_time = rq->client->last_io;