]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cfgparse: use curproxy global var from config post validation
authorPatrick Hemmer <patrick.hemmer@gmail.com>
Tue, 1 Aug 2023 14:55:55 +0000 (10:55 -0400)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 May 2024 16:45:47 +0000 (18:45 +0200)
commit28489021b334584bbfc3405447d61ce05c088c7c
treee655a1f3a8c1f408cb6fe8ba57838aa5e87c46fe
parent93d4e99714d5788d7627f64fd02cae09ecd07b20
BUG/MINOR: cfgparse: use curproxy global var from config post validation

Previously check_config_validity() had its own curproxy variable. This
resulted in the acl() sample fetch being unable to determine which
proxy was in use when used from within log-format statements. This
change addresses the issue by having the check_config_validity()
function use the global variable instead.
reg-tests/sample_fetches/acl.vtc
src/cfgparse.c