]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist-1.6.x: Don't increase the outstanding counter on a duplicated ID over TCP 10743/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:30:52 +0000 (12:30 +0200)
commita356f4186a4d22ebbde8bcc389bd90dc381b1d99
tree87e09043f2c179cb141533fa6b7d20f855ecb09a
parente01607e65123de79ba414ae28a4ee837a974e1df
dnsdist-1.6.x: 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