]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: disabled takes a stopping and a disabled state
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 3 Aug 2021 09:58:03 +0000 (11:58 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 3 Aug 2021 12:17:45 +0000 (14:17 +0200)
commit8e765b86fd702d4c25d9bfadba12167d38293fab
tree5792a7fdd7a69f9dda2807e212bbacc1362ccd76
parentfdc3faf6548c400b2c913d9d10f324ca6bb6eaf1
MINOR: proxy: disabled takes a stopping and a disabled state

This patch splits the disabled state of a proxy into a PR_DISABLED and a
PR_STOPPED state.

The first one is set when the proxy is disabled in the configuration
file, and the second one is set upon a stop_proxy().
include/haproxy/proxy-t.h
src/cfgparse-listen.c
src/cfgparse.c
src/mworker.c
src/proxy.c