Make the maximum number of clients configurable
[deb_shairplay.git] / src / lib / httpd.c
index 971a5bf3e99e0717a3b2feddfd6248a4d5b893bd..2bed984203ebbdd907eb480daa8ea20749f2c682 100644 (file)
@@ -110,6 +110,7 @@ httpd_add_connection(httpd_t *httpd, int fd, unsigned char *local, int local_len
                }
        }
        if (i == httpd->max_connections) {
+               /* This code should never be reached, we do not select server_fd when full */
                logger_log(httpd->logger, LOGGER_INFO, "Max connections reached");
                shutdown(fd, SHUT_RDWR);
                closesocket(fd);