If you have a http keepalive connetion (for example 60 seconds timeout) and you close your application, even if stopAll (true) httpserver close connection the hasMoreRequests() will remain in waiting on epoll_wait
I remember that on windows the only way to terminate epoll_wait was to use
PostQueuedCompletionStatus(epollfd, 0, 0, NULL);
If you have a http keepalive connetion (for example 60 seconds timeout) and you close your application, even if stopAll (true) httpserver close connection the hasMoreRequests() will remain in waiting on epoll_wait
I remember that on windows the only way to terminate epoll_wait was to use
PostQueuedCompletionStatus(epollfd, 0, 0, NULL);