]> 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 15:02:42 +0000 (17:02 +0200)
commitdf0cb0a738ae56c1efcc06d497b7f71fdd3ffdeb
treeb7f1bd3bfc01eeaee3acee4a5996e3136eeada06
parentab43e6ca99d567999190a1384f26e2ed332e4994
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 a43fe7cd3f051f12bb544b6fa364135b1719c587)
(cherry picked from commit 7278b66cdf2e9e3ec79f0c7586091c2fc96317d0)
lib/ns/client.c
lib/ns/include/ns/client.h
lib/ns/include/ns/interfacemgr.h
lib/ns/interfacemgr.c