]> git.kaiwu.me - haproxy.git/commit
MINOR: proxy: define server list iteration functions
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Jul 2026 14:34:49 +0000 (16:34 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 24 Jul 2026 07:33:00 +0000 (09:33 +0200)
commitb679ccb76021a39f495f652d60634ab95cb68871
tree2f92b9771bf7e17b2acb3953dbf54af17d0bf24f
parent257e2eefc95499099d9447b9c92fe3ea439c5e08
MINOR: proxy: define server list iteration functions

Define wrappers function to iterate over a proxy servers list. These
functions are used when a standard for loop over the whole list is not
desirable.

This patch will ease the conversion of the proxy servers list into a
doubly linked struct list type, as the final conversion patch changes
will be smaller.
14 files changed:
addons/promex/service-prometheus.c
include/haproxy/proxy.h
src/cfgparse-peers.c
src/hlua_fcn.c
src/http_ana.c
src/lb_chash.c
src/lb_fas.c
src/lb_fwlc.c
src/lb_fwrr.c
src/lb_map.c
src/proxy.c
src/resolvers.c
src/server.c
src/stats-proxy.c