We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 318a3fe commit 9a6095cCopy full SHA for 9a6095c
httplib.h
@@ -7993,18 +7993,14 @@ inline bool Server::listen_internal() {
7993
std::unique_ptr<TaskQueue> task_queue(new_task_queue());
7994
7995
while (svr_sock_ != INVALID_SOCKET) {
7996
-#ifndef _WIN32
7997
if (idle_interval_sec_ > 0 || idle_interval_usec_ > 0) {
7998
-#endif
7999
auto val = detail::select_read(svr_sock_, idle_interval_sec_,
8000
idle_interval_usec_);
8001
if (val == 0) { // Timeout
8002
task_queue->on_idle();
8003
continue;
8004
}
8005
8006
8007
8008
8009
#if defined _WIN32
8010
// sockets connected via WASAccept inherit flags NO_HANDLE_INHERIT,
0 commit comments