From: Witold Kręcicki Date: Thu, 1 Oct 2020 11:18:47 +0000 (+0200) Subject: Add DoT support to bind X-Git-Tag: v9.16.11~17^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7fa046a69facefb9bdafff9e2510f330584ed74;p=thirdparty%2Fbind9.git Add DoT support to bind Parse the configuration of tls objects into SSL_CTX* objects. Listen on DoT if 'tls' option is setup in listen-on directive. Use DoT/DoH ports for DoT/DoH. (cherry picked from commit 38b78f59a08b11dc7c551dfe279df58203f2e2da) --- diff --git a/lib/isc/netmgr/tcpdns.c b/lib/isc/netmgr/tcpdns.c index 8004124a850..422e26d2b5b 100644 --- a/lib/isc/netmgr/tcpdns.c +++ b/lib/isc/netmgr/tcpdns.c @@ -471,6 +471,7 @@ isc__nm_async_tcpdnsstop(isc__networker_t *worker, isc__netievent_t *ev0) { break; default: INSIST(0); + ISC_UNREACHABLE(); } isc__nmsocket_detach(&sock->outer); }