]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Better handling of outgoing DoH workers 10772/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 28 Sep 2021 13:38:42 +0000 (15:38 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 28 Sep 2021 13:38:42 +0000 (15:38 +0200)
commitb146a84f7fe1f680441b54399b9b023024d72b40
tree8016e96d6b21a8538e8df10d969fdd830f6ad0fa
parentbc8e806e8cc6325bac93d5fdc2b9279b2ee8e87d
dnsdist: Better handling of outgoing DoH workers

This commit raises the number of DoH workers to be at least 1, always, unless
told otherwise via setOutgoingDoHWorkerThreads(0).
In that last case it raises an exception if the console is used to declare
a new DoH backend later on.
pdns/dnsdist-lua.cc
pdns/dnsdistdist/dnsdist-nghttp2.cc
pdns/dnsdistdist/dnsdist-nghttp2.hh