]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: mux-h1: Properly resolve file path for 'h1-case-adjust-file'
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Jun 2026 05:29:23 +0000 (07:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Jun 2026 06:55:56 +0000 (08:55 +0200)
commit82a16a29274b29d51ed18c1f683a7df56fa2a997
tree2cc69aa9403f8526960b75c58a0c08b54a09c1fc
parent292b07270c53de5db5d643c761bcecfee157a7fb
BUG/MINOR: mux-h1: Properly resolve file path for 'h1-case-adjust-file'

The file specified by 'h1-case-adjust-file' directive is only loaded during
post-parsing. However when a relative path is used, the corresponding
absoulte path was not resolve during parsing. So the file could be loaded
relatively from the wrong location leading to a configuration error. It may
happen if several configuration files are used or if several
"default-config" are used. The last "default" location was always used.

To fix the issue, the absolute path of the file is now resolved when the
directive is parsed.

This patch should fix the issue #3415. It must be backported to all
versions.
src/mux_h1.c