]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: path_base() concatenates a path with a base path
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 19 Mar 2025 15:16:52 +0000 (16:16 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 19 Mar 2025 16:59:31 +0000 (17:59 +0100)
commitb0ad777902c8e51b127c275b3961e7baba14ec12
tree2be3faf33569e54e2c3b615e6ae9829b1d50f1f6
parent21601f4a27c4a1c8da0dbbfa22329ec1f927670e
MINOR: tools: path_base() concatenates a path with a base path

With the SSL configuration, crt-base, key-base are often used, these
keywords concatenates the base path with the path when the path does not
start by  '/'.

This is done at several places in the code, so a function to do this
would be better to standardize the code.
include/haproxy/tools.h
src/tools.c