From dfe709d6562055df6e7c0749ab92470ad418bbc9 Mon Sep 17 00:00:00 2001 From: Matthew Newton Date: Wed, 29 May 2024 16:56:22 +0100 Subject: [PATCH] remove TCP Status-Server requests from proxy hash as well fixes #5326 --- src/main/process.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/process.c b/src/main/process.c index 8e40031cbe6d..24f7e591b34c 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -2331,18 +2331,6 @@ static void remove_from_proxy_hash(REQUEST *request) */ if (!request->in_proxy_hash) return; -#ifdef WITH_TCP - /* - * Status-Server packets aren't removed from the proxy hash. They're reused. - * - * Unless we're tearing down the listener. - */ - if ((request->proxy->proto == IPPROTO_TCP) && (request->proxy->code == PW_CODE_STATUS_SERVER) && - request->proxy_listener && (request->proxy_listener->status < RAD_LISTEN_STATUS_EOL)) { - return; - } -#endif - /* * The "not in hash" flag is definitive. However, if the * flag says that it IS in the hash, there might still be