]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: proxy: must not try to stop disabled proxies upon reload
authorWilly Tarreau <w@1wt.eu>
Wed, 3 Oct 2012 22:14:33 +0000 (00:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 3 Oct 2012 22:20:55 +0000 (00:20 +0200)
commitd1a33e35fb33b990217ae0652cbc6b322e49d31b
tree8026ea0730449b3a95e8e55d050d92ec4d0c1493
parent8923019a1d74c2d5f50eb0afe6c6a7531daac8c2
BUG/MEDIUM: proxy: must not try to stop disabled proxies upon reload

HervĂ© Commowick reported an issue : haproxy dies in a segfault during a
soft restart if it tries to pause a disabled proxy. This is because disabled
proxies have no management task so we must not wake the task up. This could
easily remain unnoticed since the old process was expected to go away, so
having it go away faster was not really troubling. However, with sync peers,
it is obvious that there is no peer sync during this reload.

This issue has been introduced in 1.5-dev7 with the removal of the
maintain_proxies() function. No backport is needed.
include/types/proxy.h
src/proxy.c