]> granicus.if.org Git - pdns/commit
Add support for TCP timeouts and limit the number of retries on downstream server
authorRemi Gacogne <rgacogne-github@coredump.fr>
Thu, 5 Nov 2015 23:47:14 +0000 (00:47 +0100)
committerRemi Gacogne <rgacogne-github@coredump.fr>
Fri, 6 Nov 2015 11:04:55 +0000 (12:04 +0100)
commit3f6d07a48f6829a9263e0fc0ca3350578913ad9a
treea597e7dcf9ae6472b07722ac3069d3d3da767391
parenta9b6db56f5091b7cab65d525725dbc6f6edfbce9
Add support for TCP timeouts and limit the number of retries on downstream server

The TCP timeouts default to 30s for downstream server in both sides, 2s for client.

We now only retry 5 times if the downstream server keeps failing on us.
pdns/README-dnsdist.md
pdns/dnsdist-lua.cc
pdns/dnsdist-tcp.cc
pdns/dnsdist.cc
pdns/dnsdist.hh
pdns/misc.cc
pdns/misc.hh