]> git.kaiwu.me - haproxy.git/commit
MINOR: proxy: define proxies_list iteration functions
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 15 Jul 2026 14:30:45 +0000 (16:30 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Jul 2026 14:03:19 +0000 (16:03 +0200)
commit164d05706132107a405d23663dbca29916910f55
tree10c466db76b6baf13b7fc4f758d5e39d3724ff0a
parent8fa7d45b63a0bcfecb8dfb41648cd6f2c2a6cf71
MINOR: proxy: define proxies_list iteration functions

Define wrappers function for <proxies_list> iteration. These functions
are used when a standard for loop over the whole list is not desirable.

The objective of this patch is to ease the conversion of <proxies_list>
from a singly linked list to a standard doubly linked list type. This
will help to keep the final conversion patch smaller.

Also, iteration over struct list is sligthly more complicated as it
requires more operation, for example for list end detection. Thus, the
wrappers will become handy to avoid tedious code repetion.
addons/promex/service-prometheus.c
include/haproxy/proxy.h
src/ech.c
src/hlua_fcn.c
src/proxy.c
src/ssl_ckch.c
src/stats-proxy.c
src/stats.c