]> granicus.if.org Git - pdns/commit
dnsdist: Better handling of outstanding TCP queries
authorRemi Gacogne <rgacogne-github@coredump.fr>
Fri, 22 Jan 2016 16:11:58 +0000 (17:11 +0100)
committerRemi Gacogne <rgacogne-github@coredump.fr>
Fri, 22 Jan 2016 16:11:58 +0000 (17:11 +0100)
commitc594a2f48e9faba03a955bb15572af81c517bfef
tree19e2eaefa5504bbaf76b308ac1aceb252724da20
parent5a0c8f2f74232e013d647219f78a921e21bba085
dnsdist: Better handling of outstanding TCP queries

The outstanding count was incremented for every query processed
in a single TCP session but was only decremented once per session.
It could also have been decremented before being incremented
if setupTCPDownstream() failed.
It might close #3288.
pdns/dnsdist-tcp.cc