]> git.kaiwu.me - haproxy.git/commit
OPTIM/MINOR: proxy: remove unnecessary lookup during purge
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 9 Oct 2026 15:14:03 +0000 (17:14 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 14 Oct 2026 09:33:41 +0000 (11:33 +0200)
commit1aae07f01fc928f8c4c07bc156188cb20e39f2ef
tree8f0b261d14a8f96a026d57e4928f0abc8ec76e18
parent0344260b9896e368966dd5fd2e1c97ca2a5fef0b
OPTIM/MINOR: proxy: remove unnecessary lookup during purge

Simplifies backend background deletion in purge task. Call to
be_check_for_deletion() is removed, preventing an unnecessary lookup on
proxies global list.

Instead, only <beconn> member check is necessary. Backend configuration
which could block deletion were already tested via "purge backend".
Also, if backend has been reset to publish state, it is no longer
flagged PR_FL_TO_PURGE.
src/proxy.c