]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ech: non destructive parsing in cli_find_ech_specific_ctx()
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 30 Oct 2025 10:54:49 +0000 (11:54 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 30 Oct 2025 10:59:39 +0000 (11:59 +0100)
commitf6503bd7d3a39973e2742462f9cdf3745ab3b3f3
tree8afbe3b8e8513f3be4c994f73ef2bb83067515b2
parent37f76c45fa348c4a728fcc06e089b98183687256
BUG/MINOR: ech: non destructive parsing in cli_find_ech_specific_ctx()

 cli_find_ech_specific_ctx() parses the <frontend>/<bind_conf> and sets
 a \0 in place the '/'. But the originals tring is still used to emit
 messages in the CLI so we only output the frontend part.

 This patch do the parsing in a trash buffer instead.
src/ech.c