]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Reuse and save the TLS session tickets in DoT healthchecks
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 26 Nov 2021 11:15:09 +0000 (12:15 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 26 Nov 2021 11:15:09 +0000 (12:15 +0100)
commit02fe5e06cad9b84bd02a79df454dfabeccbbc6a5
tree7172e5e79210f23528cf1240189896f676bb4384
parent174448f4c4140d6d96252dc400fd4a6ae88fd0aa
dnsdist: Reuse and save the TLS session tickets in DoT healthchecks

This reduces the cost of the healthchecks themselves while saving the
TLS session reduces the cost of opening of a DoT connection for actual
queries later on.
In the future a refactoring of the TCP/DoT healthcheck code to be more
like the "black box" approach used for DoH would be nice to have.
pdns/dnsdistdist/dnsdist-healthchecks.cc