]> git.ipfire.org Git - thirdparty/asterisk.git/commit
manager.c: Fix erroneous reloads in UpdateConfig.
authorNaveen Albert <asterisk@phreaknet.org>
Thu, 25 Jan 2024 17:44:29 +0000 (12:44 -0500)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Tue, 30 Jan 2024 18:57:21 +0000 (18:57 +0000)
commitf1a9ec470372a3e3eb3542a51682ea123b255cde
tree28c546991ab19e64f0990bd4465045fb84e32623
parentf4845f756f27952eb16229abcc930c4b16b0e884
manager.c: Fix erroneous reloads in UpdateConfig.

Currently, a reload will always occur if the
Reload header is provided for the UpdateConfig
action. However, we should not be doing a reload
if the header value has a falsy value, per the
documentation, so this makes the reload behavior
consistent with the existing documentation.

Resolves: #551
main/manager.c