]> git.kaiwu.me - haproxy.git/commit
MINOR: proxy: rename default refcount to avoid confusion
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 27 Feb 2026 08:20:15 +0000 (09:20 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 2 Mar 2026 13:07:40 +0000 (14:07 +0100)
commitee1f0527c6b07e54a3863ccc0bc4253ae781cdf5
tree85f3bd094ced883a351c4f17fd99002b2dd78e2b
parentf3127df74d8e78aa26637c2f3cbc5a9dc9e5e56c
MINOR: proxy: rename default refcount to avoid confusion

Rename proxy conf <refcount> to <def_ref>. This field only serves for
defaults proxy instances. The objective is to avoid confusion with the
newly introduced <refcount> field used for dynamic backends.

As an optimization, it could be possible to remove <def_ref> and only
use <refcount> also for defaults proxies usage. However for now the
simplest solution is implemented.

This patch does not bring any functional change.
include/haproxy/proxy-t.h
src/cfgparse-listen.c
src/haproxy.c
src/proxy.c