]> git.kaiwu.me - haproxy.git/commit
MINOR: proxy: implement "show default-server"
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Jul 2026 12:42:43 +0000 (14:42 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 5 Aug 2026 09:36:20 +0000 (11:36 +0200)
commitc93862d80f4c4e67aac19c851d612a058be8e77a
tree8860e9dfcde7e8e73fdf5f58ff789c66a091f2ee
parent32c2757c7fb6840500b835d9df8e52a8cbcf509d
MINOR: proxy: implement "show default-server"

Define a new CLI command "show default-server". This lists all the
default-server instances, both unnamed and named. By default, all
backends are displayed. A single instance only can be requested.

Command is protected against runtime backend deletion via a watcher. It
is only attached for a full iteration. If only a single instance is
requested, watcher_is_attached() will detects this and interrupt the for
loop.
doc/configuration.txt
doc/management.txt
reg-tests/server/from_keyword.vtc
src/proxy.c