]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: cfgparse: move peers parsing to cfgparse-peers.c
authorHyeonggeun Oh <hyeonggeun.oh@plaintexting.com>
Tue, 20 Jan 2026 13:27:40 +0000 (22:27 +0900)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 20 Jan 2026 16:17:37 +0000 (17:17 +0100)
commit7e85391a9e580a416af001d4c32f63f0973a607f
tree1dde6b9b81cb6dd87a60df21e068fd478f18c62d
parent44c491ae6b95dfb56b43b32e1972421743a322bd
REORG: cfgparse: move peers parsing to cfgparse-peers.c

This patch move the peers section parsing code from src/cfgparse.c to a
dedicated src/cfgparse-peers.c file. This seperation improves code
organization and prepares for further refactoring of the "peers" keyword
registration system.

No functional changes in this patch - the code is moved as-is with only
the necessary adjustments for compliation (adding SPDX header and
updating Makefile for build).

This is the first patch in a series to address issue #3221, which
reports that "peers" section keywords are not displayed with -dKall.
Makefile
src/cfgparse-peers.c [new file with mode: 0644]
src/cfgparse.c