]> granicus.if.org Git - pdns/commit
Remove the IDState lock.
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 2 Dec 2015 17:55:44 +0000 (18:55 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 2 Dec 2015 17:55:44 +0000 (18:55 +0100)
commitc9ba8478e80a7317a50a92fef36a810bb6ad0ae8
treefbd87a339eb51d11fdaebf6feddeddca1f5135e5
parentd79c86ab3f5c7e6d9c06edf585971cdc2862557a
Remove the IDState lock.

Keeping a copy of the origFD in the response handling thread and
setting ids->age to 0 before setting ids->origFD in the UDP query
thread should prevent dropping query because of a race.
pdns/dnsdist.cc
pdns/dnsdist.hh