]> 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)
committerEvan Hunt <each@isc.org>
Fri, 5 Apr 2019 22:52:41 +0000 (15:52 -0700)
commit7278b66cdf2e9e3ec79f0c7586091c2fc96317d0
tree8f57227799bcee8b14e1f9de3786218fab9c40f1
parent264384fbb9e722dff2d78d48bb00b4f6290bc51c
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)
lib/ns/client.c
lib/ns/include/ns/client.h
lib/ns/include/ns/interfacemgr.h
lib/ns/interfacemgr.c