]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli: warning on _getsocks when socket were closed
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 28 Jul 2022 13:33:41 +0000 (15:33 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 28 Jul 2022 13:49:43 +0000 (15:49 +0200)
commitb5d062dff197a0430aad37d032233edaa541eaee
treef399dfcba7685ee81d12ee2157a14fb6a51a9833
parent9c821e615e08eff2d8d19deba3bebde995bcccd2
MINOR: cli: warning on _getsocks when socket were closed

The previous attempt was reverted because it would emit a warning when
the sockets are still in the process when a reload failed, so this was
an expected 2nd try.

This warning however, will be displayed if a new process successfully
get the previous sockets AND the sendable number of sockets is 0.

This way the user will be warned if he tried to get the sockets fromt
the wrong process.
src/cli.c