]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove TCP Status-Server requests from proxy hash as well
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Wed, 29 May 2024 13:32:24 +0000 (14:32 +0100)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Wed, 29 May 2024 15:50:11 +0000 (16:50 +0100)
fixes #5326

src/main/process.c

index 0122a7a4aa10e5d3823f64251a0517095b53789e..fb2abfb82a56d1e5bfad731ae4ffa2aa7a157235 100644 (file)
@@ -2372,18 +2372,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