]> git.ipfire.org Git - thirdparty/bind9.git/commit
tcp-clients could still be exceeded (v2)
authorWitold Kręcicki <wpk@isc.org>
Fri, 4 Jan 2019 11:50:51 +0000 (12:50 +0100)
committerOndřej Surý <ondrej@sury.org>
Thu, 25 Apr 2019 13:04:25 +0000 (15:04 +0200)
commit719f604e3fad5b7479bd14e2fa0ef4413f0a8fdc
treeb63b293720f01c3a6cd6f7a42ccd8beed140276d
parentec2d50da8d81814640e28593d912f4b96c7efece
tcp-clients could still be exceeded (v2)

the TCP client quota could still be ineffective under some
circumstances.  this change:

- improves quota accounting to ensure that TCP clients are
  properly limited, while still guaranteeing that at least one client
  is always available to serve TCP connections on each interface.
- uses more descriptive names and removes one (ntcptarget) that
  was no longer needed
- adds comments

(cherry picked from commit 924651f1d5e605cd186d03f4f7340bcc54d77cc2)
(cherry picked from commit 55a7a458e30e47874d34bdf1079eb863a0512396)
bin/named/client.c
bin/named/include/named/client.h
bin/named/include/named/interfacemgr.h
bin/named/interfacemgr.c