commit | 37bb7be09cfd966ea4cc0397bdb89eccd4a67dcc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Sep 21 15:24:58 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Sep 21 15:24:58 2015 +0200 |
tree | 684a5fa26b82c48ec4908f48f3abd244123d3764 | |
parent | 14a923cd2e8b64c6054b8cc385e8cc44f08f9545 [diff] |
BUG/MAJOR: peers: fix a crash when stopping peers on unbound processes Pradeep Jindal reported and troubleshooted a bug causing haproxy to die during startup on all processes not making use of a peers section. It only happens with nbproc > 1 when peers are declared. Technically it's when the peers task is stopped on processes that don't use it that the crash occurred (a task_free() called on a NULL task pointer). This only affects peers v2 in the dev branch, no backport is needed.