]> git.ipfire.org Git - thirdparty/pdns.git/commit
Drop queries with packet types we do not like.
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 21 Feb 2022 15:11:37 +0000 (16:11 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 23 Feb 2022 06:31:10 +0000 (07:31 +0100)
commitcfbcc0f3891e5a62cef7a0258056fad8dbfcdf47
tree63286078467261a853225109cdd217b418732e07
parent4512fda63964e476e81aeda0e4dcbb23cf3dd70f
Drop queries with packet types we do not like.

While working on this, I noticed inconsistencies between UDP and TDP logging:
1 uses g_quiet, the other g_logCommonErrors. This needs to be revisited.

Also: the use of MT->getTid() seems strange, as it is used in places where
no mthread has been started yet in doProcessUDPQuestion() and handleRunningTCPQuestion().
That is, unless I'm missing something.
pdns/pdns_recursor.cc
pdns/recursordist/rec-taskqueue.cc
pdns/recursordist/rec-tcp.cc
pdns/syncres.hh