]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] peers: ensure the peers are resumed if they were paused
authorWilly Tarreau <w@1wt.eu>
Wed, 7 Sep 2011 19:33:14 +0000 (21:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 Sep 2011 20:47:43 +0000 (22:47 +0200)
commitc03ebbfca481687bfe04b12db064d89aedb6f4d7
treee9055496e0c40224b58275693b495a23cba6efea
parent122541c06aa450e6b5c8b5c4724f342179fd0990
[BUG] peers: ensure the peers are resumed if they were paused

Upon an incoming soft restart request, we first pause all frontends and
peers. If the caller changes its mind and asks us to resume (eg: failed
binding), we must resume all the frontends and peers. Unfortunately the
peers were not resumed.

The code was arranged to avoid code duplication (which used to hide the
issue till now).
src/proxy.c