]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the dns_name API to use ISC_THREAD_LOCAL
authorOndřej Surý <ondrej@isc.org>
Mon, 2 Dec 2019 10:42:50 +0000 (11:42 +0100)
committerOndřej Surý <ondrej@sury.org>
Tue, 3 Dec 2019 15:27:24 +0000 (16:27 +0100)
commit1a66aabd22efc08c8d22e43377dd5d6f4f594dc7
treef0ab4835e0fe4cd2a1433a97b3b7725e058a3309
parent01731d4b1ba409ca05565b69e35c02fd65adbdd3
Refactor the dns_name API to use ISC_THREAD_LOCAL

Previously, the dns_name API used isc_thread_key API for TLS, which is
fairly complicated and requires initialization of memory contexts, etc.
This part of code was refactored to use a ISC_THREAD_LOCAL pointer which
greatly simplifies the whole code related to storing TLS variables.
16 files changed:
bin/check/named-checkconf.c
bin/check/named-checkzone.c
bin/dig/dighost.c
bin/dnssec/dnssec-dsfromkey.c
bin/dnssec/dnssec-importkey.c
bin/dnssec/dnssec-keyfromlabel.c
bin/dnssec/dnssec-keygen.c
bin/dnssec/dnssec-signzone.c
bin/dnssec/dnssec-verify.c
bin/named/main.c
bin/nsupdate/nsupdate.c
bin/rndc/rndc.c
bin/tests/system/rsabigexponent/bigkey.c
lib/dns/include/dns/name.h
lib/dns/name.c
lib/dns/win32/libdns.def.in