From f0adfb2e0cf2914e6ecfc43a944995ac1c95be60 Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 22 May 2020 12:18:07 -0400 Subject: [PATCH] Fix #488 --- httplib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httplib.h b/httplib.h index 6debb3a..056f62f 100644 --- a/httplib.h +++ b/httplib.h @@ -3970,7 +3970,7 @@ inline bool Server::listen_internal() { break; } - auto val = detail::select_read(svr_sock_, 0, 100000); + auto val = detail::select_read(svr_sock_, 0, 0); if (val == 0) { // Timeout task_queue->on_idle();