From 12d00f65e15d4433bdb077fd297fbc74afe60de1 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 (cherry picked from commit 9aa6eeca355c50bc79e9f7ea986689fa0a296e42) --- pdns/pdns_recursor.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index b8e00a7a6e..297ff9459d 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -2950,6 +2950,7 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) } g_stats.sourceDisallowedNotify++; + terminateTCPConnection(fd); return; } @@ -2959,6 +2960,7 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) } g_stats.zoneDisallowedNotify++; + terminateTCPConnection(fd); return; } } -- 2.47.2