mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 09:43:51 +00:00
Fix #488
This commit is contained in:
parent
139c816c16
commit
f0adfb2e0c
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user