aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 77f43537..6f61b71f 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1382,8 +1382,6 @@ internal_add_connection (struct MHD_Daemon *daemon,
1382 client_socket); 1382 client_socket);
1383#endif 1383#endif
1384#endif 1384#endif
1385 //if (daemon->connections == daemon->connection_limit)
1386 // MHD_cleanup_connections (daemon); /* try to aggressively clean up to make room */
1387 if ( (daemon->connections == daemon->connection_limit) || 1385 if ( (daemon->connections == daemon->connection_limit) ||
1388 (MHD_NO == MHD_ip_limit_add (daemon, addr, addrlen)) ) 1386 (MHD_NO == MHD_ip_limit_add (daemon, addr, addrlen)) )
1389 { 1387 {