bind9/lib/ns
Ondřej Surý 1715cad685
Refactor the isc_quota code and fix the quota in TCP accept code
In e185412872, the TCP accept quota code
became broken in a subtle way - the quota would get initialized on the
first accept for the server socket and then deleted from the server
socket, so it would never get applied again.

Properly fixing this required a bigger refactoring of the isc_quota API
code to make it much simpler.  The new code decouples the ownership of
the quota and acquiring/releasing the quota limit.

After (during) the refactoring it became more clear that we need to use
the callback from the child side of the accepted connection, and not the
server side.
2023-04-12 14:10:37 +02:00
..
include Refactor the isc_quota code and fix the quota in TCP accept code 2023-04-12 14:10:37 +02:00
client.c Refactor the isc_quota code and fix the quota in TCP accept code 2023-04-12 14:10:37 +02:00
hooks.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
interfacemgr.c change ns__client_request() to ns_client_request() 2023-03-28 12:38:28 -07:00
listenlist.c Report when loading of dhparam-file fails 2023-04-03 12:06:04 +10:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am remove isc_task completely 2023-02-16 18:35:32 +01:00
notify.c Use a qp-trie for the zone table 2023-04-05 12:38:11 +01:00
query.c Refactor the isc_quota code and fix the quota in TCP accept code 2023-04-12 14:10:37 +02:00
server.c Use isc_histo for the message size statistics 2023-04-03 12:08:05 +01:00
sortlist.c remove some unused functions 2023-02-13 11:50:59 -08:00
stats.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
update.c Refactor the isc_quota code and fix the quota in TCP accept code 2023-04-12 14:10:37 +02:00
xfrout.c Refactor the isc_quota code and fix the quota in TCP accept code 2023-04-12 14:10:37 +02:00