Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG/MINOR: startup: set GTUNE_SOCKET_TRANSFER correctly
This bug was forbidding the GTUNE_SOCKET_TRANSFER option to be set when haproxy is neither in daemon mode nor in mworker mode. So it basically only impacts the foreground mode. The fix moves the code outside the 'if (global.mode & (MODE_DAEMON | MODE_MWORKER | MODE_MWORKER_WAIT))' condition. Bug was introduced with 7f80eb2 ("MEDIUM: proxy: zombify proxies only when the expose-fd socket is bound"). Must be backported in every stable version. (cherry picked from commit ef9a195) Signed-off-by: Christopher Faulet <[email protected]> (cherry picked from commit a51c3e1) [cf: ctx adjt] Signed-off-by: Christopher Faulet <[email protected]> (cherry picked from commit ef066d6) Signed-off-by: Christopher Faulet <[email protected]> (cherry picked from commit 3f02755) [wla: use pid_bit for nbproc handling] Signed-off-by: William Lallemand <[email protected]> (cherry picked from commit def2f95) Signed-off-by: Christopher Faulet <[email protected]> (cherry picked from commit 586a2ed) Signed-off-by: Christopher Faulet <[email protected]>
- Loading branch information