commit | d0c4ec04b874f116fd82f445e7158c69ac1d6289 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu May 12 15:18:48 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue May 17 16:13:21 2022 +0200 |
tree | 3f554ffc59e509e85cd6623b746095d8c4123846 | |
parent | 8718c95c0a97bf656d826e1f8663c0ecedb1ddd2 [diff] |
MINOR: applet: Add function to release appctx on error during init stage appctx_free_on_early_error() must be used to release a freshly created frontend appctx if an error occurred during the init stage. It takes care to release the stream instead of the appctx if it exists. For a backend appctx, it just calls appctx_free().