bind9/lib/isc/include
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
..
isc Refactor the isc_quota code and fix the quota in TCP accept code 2023-04-12 14:10:37 +02:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00