]> granicus.if.org Git - pdns/commit
Allow setting maxOustanding and maxTCPClientThreads in configuration
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 4 Dec 2015 15:01:40 +0000 (16:01 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 4 Dec 2015 15:01:40 +0000 (16:01 +0100)
commite41f8165b1ba1547f39aa6ee8bf2fb50956f2590
tree12762c87d429984211bfc6bae51e918626ebc1c2
parent7c06b0d79b070a260568b52e873b9f01222db421
Allow setting maxOustanding and maxTCPClientThreads in configuration

This commit adds the setMaxTCPClientThreads() and
setMaxUDPOutstanding() directives.
These controls, respectively, the maximum number of TCP threads
handling client connections and the maximum number of oustanding
UDP queries to a given backend server.
setMaxUDPOutstanding() is only usable at configuration-time, and
not at runtime.
pdns/README-dnsdist.md
pdns/dnsdist-lua.cc
pdns/dnsdist.cc
pdns/dnsdist.hh