]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: listener: don't report an error when resuming unbound listeners
authorWilly Tarreau <w@1wt.eu>
Tue, 14 Apr 2015 10:07:16 +0000 (12:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Apr 2015 10:10:06 +0000 (12:10 +0200)
commitaf2fd584f32ec72b3d6d27a915f15df8041b56e7
tree41345cd07db216944cf2220f86cfa0dd0c60e5fd
parent10146c9c51e17272970b19434be2e0bca0c7cf8f
BUG/MEDIUM: listener: don't report an error when resuming unbound listeners

Pavlos Parissis reported that a sequence of disable/enable on a frontend
performed on the CLI can result in an error if the frontend has several
"bind" lines each bound to different processes. This is because the
resume_listener() function returns a failure for frontends not part of
the current process instead of returning a success to pretend there was
no failure.

This fix should be backported to 1.5.
src/listener.c