Skip to content

Commit

Permalink
remove TCP Status-Server requests from proxy hash as well
Browse files Browse the repository at this point in the history
fixes #5326
  • Loading branch information
mcnewton committed May 29, 2024
1 parent ad23bc0 commit 05a4bfc
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/main/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05a4bfc

Please sign in to comment.