]> git.kaiwu.me - 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>
Tue, 24 Jun 2025 16:28:22 +0000 (18:28 +0200)
commit2187391558fecc42b6ef6f7f1f8e94f1b6dff4b7
tree3a43531395b1c089f59e6dc97a3fc71c60629eb0
parent4adc1ef7ad80f92f5eabdb5a8b39a9a2fdd65301
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