From 9aa6eeca355c50bc79e9f7ea986689fa0a296e42 Mon Sep 17 00:00:00 2001 From: Otto Date: Mon, 22 Nov 2021 15:18:07 +0100 Subject: [PATCH] When we drop a notify over TCP, terminate the connection --- pdns/pdns_recursor.cc | 2 ++ 1 file changed, 2 insertions(+) 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; } } -- 2.47.2