[Asterisk-code-review] res corosync: Add check for config file before calling coros... (asterisk[13])

George Joseph asteriskteam at digium.com
Wed Apr 22 16:27:39 CDT 2015


George Joseph has uploaded a new patch set (#3).

Change subject: res_corosync: Add check for config file before calling corosync apis
......................................................................

res_corosync: Add check for config file before calling corosync apis

res_corosync isn't compatible with some distributions and exits with
LOAD_FAILURE causing Asterisk to terminate, even if there was no
res_corosync.conf file.

This patch adds a check for the config file before calling any
corosync apis and returns a DECLINE if not found.  Asterisk
loading continues.

ASTERISK_24998

Change-Id: Iaf94a9431a4922ec4ec994003f02135acfdd3889
---
M res/res_corosync.c
1 file changed, 12 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/23/223/3
-- 
To view, visit https://gerrit.asterisk.org/223
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iaf94a9431a4922ec4ec994003f02135acfdd3889
Gerrit-PatchSet: 3
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: George Joseph <george.joseph at fairview5.com>



More information about the asterisk-code-review mailing list