]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Skip signal-unsafe logging when we are about to exit, with TSAN 12587/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 24 Feb 2023 11:08:27 +0000 (12:08 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 24 Feb 2023 11:08:27 +0000 (12:08 +0100)
commit36fae898f6bf62c7b903a4274a01ff9caa5e49f1
tree9d45628841063cee176019d4e8ab05e5b5cf1ddc
parent21d3701e40654584e56e1ce0caf1fdbfb90240f7
dnsdist: Skip signal-unsafe logging when we are about to exit, with TSAN

TSAN is rightfully unhappy about this:
```
WARNING: ThreadSanitizer: signal-unsafe call inside of a signal
```

This is not a real problem for us, as the worst case is that
we crash trying to exit, but let's try to avoid the warnings
in our tests.
pdns/dnsdist-idstate.hh
pdns/dnsdist.cc