[Privoxy-commits] [privoxy] 01/13: "Maximum number of connections reached" msg log level changed to LOG_LEVEL_ERROR

User Git git at git.privoxy.org
Sat Apr 10 19:08:03 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 0680a290e853d85293d692431426def132f29356
Author: Lee <ler762 at users.sourceforge.net>
AuthorDate: Sat Apr 10 11:05:28 2021 -0400

    "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.
---
 jcc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list