commit b0b86333560ad23f7d89f4284639bb327498470e
parent 87c722090cd0d9af97d2db5ed7c4c4b5a30fb1f5
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Mon, 9 Jan 2017 22:09:28 +0300
Added FIXME comment
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -3837,6 +3837,8 @@ MHD_epoll (struct MHD_Daemon *daemon,
/* run 'accept' until it fails or we are not allowed to take
on more connections */
series_length = 0;
+ /* FIXME: If more than 128 connections are pending, the rest
+ * of them will not trigger next epoll_wait()? */
while ( (MHD_YES == MHD_accept_connection (daemon)) &&
(daemon->connections < daemon->connection_limit) &&
(series_length < 128) &&