]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Don't increase the outstanding counter on a duplicated ID over TCP 10745/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 21 Sep 2021 10:30:52 +0000 (12:30 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 21 Sep 2021 10:40:16 +0000 (12:40 +0200)
commit2f9273909d4baa4f2878b9c05d9523dead76e4c7
treeb6d1268a05413af9818ab59e30bc134e43296a0d
parentdede97bf56d9d2f4e98835d1746720ab34fdff11
dnsdist: Don't increase the outstanding counter on a duplicated ID over TCP

If the client has sent more than one concurrent query using the same query ID,
we only send one response for all of these queries, and we should not mess up
our outstanding queries counter.
pdns/dnsdistdist/dnsdist-tcp-downstream.cc
pdns/dnsdistdist/test-dnsdisttcp_cc.cc