commit | 7b820a6191736cdf4167d624b7bcab9957dd0697 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Mon Feb 14 09:02:14 2022 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Mon Feb 14 09:28:13 2022 +0100 |
tree | df45b1a7e55dba65329f3dab6a2321338afc1422 | |
parent | 6fed59c7c1d1858b52687bb55f03ebb8163e23dc [diff] |
BUG/MINOR: mworker: does not erase the pidfile upon reload When started in master-worker mode combined with daemon mode, HAProxy will open() with O_TRUNC the pidfile when switching to wait mode. In 2.5, it happens everytime after trying to load the configuration, since we switch to wait mode. In previous version this happens upon a failure of the configuration loading. Fixes bug #1545. Must be backported in every supported branches.