bind9/lib/isc/tests
Witold Kręcicki d151a10f30 Add a quota attach function with a callback, some code cleanups.
We introduce a isc_quota_attach_cb function - if ISC_R_QUOTA is returned
at the time the function is called, then a callback will be called when
there's quota available (with quota already attached). The callbacks are
organized as a LIFO queue in the quota structure.
It's needed for TCP client quota -  with old networking code we had one
single place where tcp clients quota was processed so we could resume
accepting when the we had spare slots, but it's gone with netmgr - now
we need to notify the listener/accepter that there's quota available so
that it can resume accepting.

Remove unused isc_quota_force() function.

The isc_quote_reserve and isc_quota_release were used only internally
from the quota.c and the tests.  We should not expose API we are not
using.
2020-03-30 07:43:10 +00:00
..
testdata/file [master] new mkeys and nzf naming format 2014-11-04 19:43:27 -08:00
aes_test.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
buffer_test.c apply the modified style 2020-02-13 15:05:06 -08:00
counter_test.c apply the modified style 2020-02-13 15:05:06 -08:00
crc64_test.c apply the modified style 2020-02-13 15:05:06 -08:00
errno_test.c apply the modified style 2020-02-13 15:05:06 -08:00
file_test.c apply the modified style 2020-02-13 15:05:06 -08:00
hash_test.c apply the modified style 2020-02-13 15:05:06 -08:00
heap_test.c apply the modified style 2020-02-13 15:05:06 -08:00
hmac_test.c Stop leaking OpenSSL types and defines in the isc/md.h 2020-03-17 09:11:13 +01:00
ht_test.c apply the modified style 2020-02-13 15:05:06 -08:00
isctest.c Refactor the isc_log API so it cannot fail on memory failures 2020-03-18 09:05:59 +01:00
isctest.h Reformat using the new rules 2020-02-14 09:31:05 +01:00
Kyuafile remove ISC_QUEUE as it is no longer used 2019-11-07 11:55:37 -08:00
lex_test.c apply the modified style 2020-02-13 15:05:06 -08:00
Makefile.in Add a quota attach function with a callback, some code cleanups. 2020-03-30 07:43:10 +00:00
md_test.c Stop leaking OpenSSL types and defines in the isc/md.h 2020-03-17 09:11:13 +01:00
mem_test.c apply the modified style 2020-02-13 15:05:06 -08:00
netaddr_test.c apply the modified style 2020-02-13 15:05:06 -08:00
parse_test.c apply the modified style 2020-02-13 15:05:06 -08:00
pool_test.c apply the modified style 2020-02-13 15:05:06 -08:00
quota_test.c Add a quota attach function with a callback, some code cleanups. 2020-03-30 07:43:10 +00:00
radix_test.c apply the modified style 2020-02-13 15:05:06 -08:00
random_test.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
regex_test.c apply the modified style 2020-02-13 15:05:06 -08:00
result_test.c apply the modified style 2020-02-13 15:05:06 -08:00
safe_test.c apply the modified style 2020-02-13 15:05:06 -08:00
siphash_test.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
sockaddr_test.c apply the modified style 2020-02-13 15:05:06 -08:00
socket_test.c Fix lib/isc/tests/socket_test hangs 2020-02-20 11:39:15 +01:00
symtab_test.c apply the modified style 2020-02-13 15:05:06 -08:00
task_test.c apply the modified style 2020-02-13 15:05:06 -08:00
taskpool_test.c apply the modified style 2020-02-13 15:05:06 -08:00
time_test.c apply the modified style 2020-02-13 15:05:06 -08:00
timer_test.c fix a pointer-to-int cast error 2020-03-17 13:00:29 -07:00