]> git.ipfire.org Git - thirdparty/bind9.git/commit
creation of client TLS ctx before exclusive mode
authorColin Vidal <colin@isc.org>
Tue, 9 Sep 2025 13:41:17 +0000 (15:41 +0200)
committerColin Vidal <colin@isc.org>
Wed, 24 Sep 2025 08:54:50 +0000 (10:54 +0200)
commitc225ba17c29b5f072fa43a33fd888fcc0cfd4b83
treeb9a0b748088a4e6dd7824a517c5b342e1ff33dc4
parente1be2be4efdf13eabee8fa454a5bfbd63bb5c98d
creation of client TLS ctx before exclusive mode

When the server is configured (inside `apply_configuration`) a client
TLS context cache is created and attached to the global server object.
It is then used by `configure_view` flow (and also during runtime though
the zone manager).

It is now created before the exclusive mode, and the swap of the
previous TLS cache ctx is done at the end of the exclusive mode, if
everything went well.

This allows us (among other follow-up changes) to move the
`configure_views` function outside of the exclusive mode.
bin/named/server.c