]> granicus.if.org Git - pdns/commit
dnsdist: Fix a race condition in the DOHUnit reference counter
authorRemi Gacogne <remi.gacogne@powerdns.com>
Sat, 26 Oct 2019 16:47:49 +0000 (18:47 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Sat, 26 Oct 2019 16:47:49 +0000 (18:47 +0200)
commit241ec94c60b4c2169938d7214d5ee7ac11f86576
treefd7189aff754f5bb01e0fb97b87571679babe4a9
parentb6d19fca92fecc9d0f3495012ecfddb6e7f2ed25
dnsdist: Fix a race condition in the DOHUnit reference counter

It was based on the reference counter used for the DOHAcceptContext
where thread safety was never an issue because those objects are
not shared between threads, but DOHUnit are.
pdns/dnsdistdist/doh.cc
pdns/doh.hh