From: Lee Date: Sat, 10 Apr 2021 15:05:28 +0000 (-0400) Subject: "Maximum number of connections reached" msg log level changed to LOG_LEVEL_ERROR X-Git-Tag: v_3_0_33~97 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/copyright.html?a=commitdiff_plain;h=0680a290e853d85293d692431426def132f29356;p=privoxy.git "Maximum number of connections reached" msg log level changed to LOG_LEVEL_ERROR Since the max number of connections is a user set value, make it easier to notice that the limit is being hit. It was logged at LOG_LEVEL_CONNECT, which is easy to miss. --- diff --git a/jcc.c b/jcc.c index 862c892e..5bd09351 100644 --- a/jcc.c +++ b/jcc.c @@ -6099,7 +6099,7 @@ static void listen_loop(void) if ((0 != config->max_client_connections) && (active_threads >= config->max_client_connections)) { - log_error(LOG_LEVEL_CONNECT, + log_error(LOG_LEVEL_ERROR, "Rejecting connection from %s. Maximum number of connections reached.", csp->ip_addr_str); write_socket_delayed(csp->cfd, TOO_MANY_CONNECTIONS_RESPONSE,