]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cfgparse: remove the correct option on httpcheck send-state warning
authorWilly Tarreau <w@1wt.eu>
Fri, 31 May 2024 16:30:16 +0000 (18:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 31 May 2024 16:30:16 +0000 (18:30 +0200)
commitd8194fab8205364d65cf5364e6daeca517eb75e0
tree1874093ca38c26d92ae9ad689dfdc05ecc22bc0d
parentf8418d3ade267e5ab28808c17af297fd1ea932a7
BUG/MINOR: cfgparse: remove the correct option on httpcheck send-state warning

In GH issue #2586 @Bbulatov reported a bug where the http-check
send-state flag is removed from options instead of options2 when
http-check is disabled. It only has an effect when this option is
set and http-check disabled, where it displays a warning indicating
this will be ignored. The option removed instead is srvtcpka when
this happens. It's likely that both options being so minor, nobody
ever faced it.

This can be backported to all versions.
src/cfgparse.c