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

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


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

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/24/224/2
-- 
To view, visit https://gerrit.asterisk.org/224
To unsubscribe, visit https://gerrit.asterisk.org/settings

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



More information about the asterisk-code-review mailing list