]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DOC: configuration: explain quotes and spaces in conditional blocks
authorWilly Tarreau <w@1wt.eu>
Wed, 20 Nov 2024 07:44:39 +0000 (08:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 Nov 2024 08:04:53 +0000 (09:04 +0100)
commitda1620b3175c63b768a8537951667885fef77e8c
treeab23e6b1c178a21545b838560f2250677a0961b8
parent962d5e038f5c6406ce2d4d9514d69849c4e00812
DOC: configuration: explain quotes and spaces in conditional blocks

Conditional blocks inherit the same tokenizer and argument parser as
the rest of the configuration, but are also silently concatenated
around groups of spaces and tabs. This can lead to subtle failures
for configs containing spaces around commas and parenthesis, where
a string comparison might silently fail for example. Let's better
document this particular case.

Thanks to Valentine for analysing and reporting the problem.

This can be backported to 2.4.
doc/configuration.txt