- Fix asynclook unit test for setup of lockchecks before log.

This commit is contained in:
W.C.A. Wijngaards 2021-08-25 16:19:12 +02:00
parent 1ea624d0c7
commit 087a7ff95e
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@
Unlock zone and ip in rpz nsip and nsdname callback. Unlock
authzone and localzone if clientip found in rpz worker call.
- Fix compile warning in libunbound for listen desetup routine.
- Fix asynclook unit test for setup of lockchecks before log.
20 August 2021: Wouter
- Fix #529: Fix: log_assert does nothing if UNBOUND_DEBUG is

View File

@ -406,10 +406,10 @@ int main(int argc, char** argv)
struct lookinfo* lookups;
int i, r, cancel=0, blocking=0, ext=0;
checklock_start();
/* init log now because solaris thr_key_create() is not threadsafe */
log_init(0,0,0);
/* lock debug start (if any) */
checklock_start();
/* create context */
ctx = ub_ctx_create();