]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/res_corosync: Always decline module load, instead of failing 48/748/1
authorGeorge Joseph <george.joseph@fairview5.com>
Wed, 22 Apr 2015 21:22:10 +0000 (15:22 -0600)
committerMatt Jordan <mjordan@digium.com>
Tue, 30 Jun 2015 02:03:33 +0000 (21:03 -0500)
commitf58c0acfa2a811208468b779f7427781add29e90
tree06e073af6e1e8ad4641cc17da9ae915b7f0ca87f
parent8ba3de43ad7ae90d94c87434cb4baede3e35f7b4
res/res_corosync: Always decline module load, instead of failing

Returns a 'failure' from the module load routine indicates to Asterisk
that it should abort loading completely. This is rarely - in fact,
really, never - a good option. Aborting load of Asterisk from a dynamic
module implies that the core, and the rest of the dynamic modules, don't
matter: we should abandon all processing.

res_corosync is really not that important.

This patch updates the module such that, if it fails to load, it
politely declines (emitting ERROR messages along the way), and allows
Asterisk to continue to function.

Note that this issue was keeping Asterisk unit tests from running on
certain build agents.

Change-Id: I252249e81fb9b1a68e0da873f54f47e21d648f0f
res/res_corosync.c