]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
(On the patch)
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 7 Aug 2018 12:48:49 +0000 (12:48 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 7 Aug 2018 12:48:49 +0000 (12:48 +0000)
- make depend, yacc, lex, doc, headers.  And log the limit exceeded
  message only on high verbosity, so as to not spam the logs when
  it is busy.

git-svn-id: file:///svn/unbound/trunk@4841 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/netevent.c

index 217f65024bb5a5bb5df5a5b3933aceb6608718c2..21a4aee1bb2160c3595884c6a2b804eb052ed671 100644 (file)
@@ -11,6 +11,9 @@
        - Patch to implement tcp-connection-limit from Jim Hague (Sinodun).
          This limits the number of simultaneous TCP client connections
          from a nominated netblock.
+       - make depend, yacc, lex, doc, headers.  And log the limit exceeded
+         message only on high verbosity, so as to not spam the logs when
+         it is busy.
 
 6 August 2018: Wouter
        - Fix for #4136: Fix to unconditionally call destroy in daemon.c.
index f154b30a44eab9190e3a4b9a9ab41489f1c48788..37353804142086d5b69b916f1ddc73c983d1e9c0 100644 (file)
@@ -854,7 +854,8 @@ int comm_point_perform_accept(struct comm_point* c,
        if(c->tcp_conn_limit && c->type == comm_tcp_accept) {
                c->tcl_addr = tcl_addr_lookup(c->tcp_conn_limit, addr, *addrlen);
                if(!tcl_new_connection(c->tcl_addr)) {
-                       log_err_addr("accept rejected",
+                       if(verbosity >= 3)
+                               log_err_addr("accept rejected",
                                "connection limit exceeded", addr, *addrlen);
                        close(new_fd);
                        return -1;