bind9/lib
Ondřej Surý f8b7188a42
Detach the views in zone_shutdown(), not in zone_free()
The .view (and possibly .prev_view) would be kept attached to the
removed zone until the zone is fully removed from the memory in
zone_free().  If this process is delayed because server is busy
something else like doing constant `rndc reconfig`, it could take
seconds to detach the view, possibly keeping multiple dead views in the
memory.  This could quickly lead to a massive memory bloat.

Release the views early in the zone_shutdown() call, and don't wait
until the zone is freed.

(cherry picked from commit 13bb821280)
2023-01-17 22:47:43 +01:00
..
bind9 remove nonfunctional DSCP implementation 2023-01-09 14:23:26 -08:00
dns Detach the views in zone_shutdown(), not in zone_free() 2023-01-17 22:47:43 +01:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
isc Implement incremental hash table resizing in isc_ht 2023-01-11 17:15:33 +01:00
isccc Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
isccfg remove nonfunctional DSCP implementation 2023-01-09 14:23:26 -08:00
ns Don't set EDE in ns_client_aclchecksilent 2023-01-10 10:02:14 +00:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00