mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-07 18:15:34 +00:00
This commit gets rid of RW locks in a hot path of the DoH code. In the original design, it was implied that we add new endpoints after the HTTP listener was created. Such a design implies some locking. We do not need such flexibility, though. Instead, we could build a set of endpoints before the HTTP listener gets created. Such a design does not need RW locks at all.