]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: server: Remove RMAINT from admin state when loading server state
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Feb 2021 16:36:08 +0000 (17:36 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Feb 2021 10:56:31 +0000 (11:56 +0100)
commiteaab7325a797e61d16a80b2969ab5f9cbd9679c5
treec1c4e2247c459030d8a1d9098911364caf552331
parentdc626ecdd22ead749c2609d9a73c512bce3202e2
BUG/MINOR: server: Remove RMAINT from admin state when loading server state

The RMAINT admin state is dynamic and should be remove from the
srv_admin_state parameter when a server state is loaded from a server-state
file. Otherwise an erorr is reported, the server-state line is ignored and
the server state is not updated.

This patch should fix the issue #576. It must be backported as far as 1.8.
src/server.c