remove (show in -d mode only) terminal messages about connections

+edits to README
This commit is contained in:
fduncanh
2022-10-29 10:58:06 -04:00
parent 5d478b5a70
commit 4d3d0cffac
6 changed files with 186 additions and 129 deletions

View File

@@ -175,7 +175,7 @@ httpd_accept_connection(httpd_t *httpd, int server_fd, int is_ipv6)
/* for uxplay, remove existing connections to make way for new connections:
* this will only occur if max_connections > 2 */
if (httpd->open_connections >= 2) {
logger_log(httpd->logger, LOGGER_INFO, "removing current connections to make way for new connection");
logger_log(httpd->logger, LOGGER_INFO, "Destroying current connections to allow connection by new client");
for (int i = 0; i<httpd->max_connections; i++) {
http_connection_t *connection = &httpd->connections[i];
if (!connection->connected) {