]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix logic botch introduced by notify handing
authorOtto <otto.moerbeek@open-xchange.com>
Mon, 22 Nov 2021 13:09:55 +0000 (14:09 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Mon, 22 Nov 2021 13:16:20 +0000 (14:16 +0100)
See #10751, some extra scrutiny review is needed to make sure no
other similat issue remains.

pdns/pdns_recursor.cc

index a321382896e3d97ac497f5ef2a2204feed3a5c28..334e4b491c19be70d0e90c32249854a19cf288a0 100644 (file)
@@ -2997,6 +2997,7 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var)
             if (dc->d_eventTrace.enabled() && SyncRes::s_event_trace_enabled & SyncRes::event_trace_to_log) {
               g_log << Logger::Info << dc->d_eventTrace.toString() << endl;
             }
+            return;
           } // cache hit
         } // query opcode