]> git.kaiwu.me - haproxy.git/commit
MEDIUM: lb: use the LB ops tables
authorMaxime Henrion <mhenrion@haproxy.com>
Mon, 27 Apr 2026 19:28:42 +0000 (15:28 -0400)
committerOlivier Houchard <cognet@ci0.org>
Tue, 28 Apr 2026 13:31:51 +0000 (15:31 +0200)
commit583a94712397afd1c4e4772010a190c1636be816
treede24ef416da91d843221d6d65a90140273e23f02
parent16a4de0d5c58234092c702ab0b12049e2ade9d60
MEDIUM: lb: use the LB ops tables

Remove manual initialization of the callbacks and use the ops field in
the lbprm struct to invoke those callbacks.
src/backend.c
src/lb_chash.c
src/lb_fas.c
src/lb_fwlc.c
src/lb_fwrr.c
src/lb_map.c
src/lb_ss.c
src/proxy.c
src/queue.c
src/server.c
src/stream.c