]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: session: expose session_embryonic_build_legacy_err() function
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 21 Feb 2024 15:38:46 +0000 (16:38 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 13 Jun 2024 13:43:09 +0000 (15:43 +0200)
commit79a0a7b4d815360f6dac7ad0e0578f026ec3c338
treef5a7a9dd31ef0fd22b5dcf86b1317abe27894068
parentee288a4eef1c0d9758741af6a0e67c7c2796442a
MINOR: session: expose session_embryonic_build_legacy_err() function

rename session_build_err_string() to session_embryonic_build_legacy_err()
and add new <out> buffer argument to the prototype. <out> will be used as
destination for the generated string instead of implicitly relying on the
trash buffer. Finally, expose the new function through the header file so
that it becomes usable from any source file.

The function is expected to be called with a session originating from
a connection and should not be used for applets.
include/haproxy/session.h
src/session.c