mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-28 06:11:32 +01:00
appctx_finalize_startup() may be used to finalize the frontend appctx startup. It is responsible to create the appctx's session and the frontend conn-stream. On error, it is the caller responsibility to release the appctx. However, the session is released if it was created. On success, if an error is encountered in the caller function, the stream must be released instead of the appctx. This function should ease the init stage when new appctx is created.