]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: add env_suggest() to suggest alternate variable names
authorWilly Tarreau <w@1wt.eu>
Tue, 24 Jun 2025 15:18:52 +0000 (17:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Nov 2025 18:57:44 +0000 (19:57 +0100)
commit14087e48b97dae5e84b0557394a15c6794100d4e
tree42584ee89df76b71e3520eda3402a9adc2b0009d
parenta4d78dd4f5882176e4259baa6f973f3abe6ffe1f
MINOR: tools: add env_suggest() to suggest alternate variable names

The purpose here is to look in the environment for a variable whose
name looks like the provided one. This will be used to try to auto-
correct misspelled environment variables that would silently be turned
to an empty string.
include/haproxy/tools.h
src/tools.c