3 @@ -237,7 +237,8 @@ struct httpd_s {
7 - if (httpd->server_fd6 != -1 && FD_ISSET(httpd->server_fd6, &rfds)) {
8 + if (httpd->open_connections < httpd->max_connections &&
9 + httpd->server_fd6 != -1 && FD_ISSET(httpd->server_fd6, &rfds)) {
10 ret = httpd_accept_connection(httpd, httpd->server_fd6, 1);