From: Otto Date: Mon, 22 Nov 2021 14:18:07 +0000 (+0100) Subject: When we drop a notify over TCP, terminate the connection X-Git-Tag: dnsdist-1.7.0-beta2~12^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11018%2Fhead;p=thirdparty%2Fpdns.git When we drop a notify over TCP, terminate the connection --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 334e4b491c..0061e661e3 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -2952,6 +2952,7 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) } g_stats.sourceDisallowedNotify++; + terminateTCPConnection(fd); return; } @@ -2961,6 +2962,7 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) } g_stats.zoneDisallowedNotify++; + terminateTCPConnection(fd); return; } }