yhirose 5 years ago
parent
commit
f0adfb2e0c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -3970,7 +3970,7 @@ inline bool Server::listen_internal() {
         break;
         break;
       }
       }
 
 
-      auto val = detail::select_read(svr_sock_, 0, 100000);
+      auto val = detail::select_read(svr_sock_, 0, 0);
 
 
       if (val == 0) { // Timeout
       if (val == 0) { // Timeout
         task_queue->on_idle();
         task_queue->on_idle();