]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: startup: sort the feature list in haproxy -vv
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 12 Feb 2026 16:41:31 +0000 (17:41 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 12 Feb 2026 17:02:19 +0000 (18:02 +0100)
commitb90b312a503d651cc555004ac963e945c0f7c432
tree9b870df405b8e7fc301fb8ae82ff65fac0f03ee5
parent1592ed9854b56cdf67c00774ebb180265d483c20
MINOR: startup: sort the feature list in haproxy -vv

The feature list in haproxy -vv is partly generated from the Makefile
using the USE_* keywords, but it's also possible to add keywords in the
feature list using hap_register_feature(), which adds the keyword at the
end of list. When doing so, the list is not correctly sorted anymore.

This patch fixes the problem by splitting the string using an array of
ist and applying a qsort() on it.
src/haproxy.c