bind9/tests/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
..
testdata Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
listenlist_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
Makefile.am Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
netmgr_wrap.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
notify_test.c remove isc_task completely 2023-02-16 18:35:32 +01:00
plugin_test.c Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
query_test.c Refactor the isc_quota code and fix the quota in TCP accept code 2023-04-12 14:10:37 +02:00