[sr-dev] git:4.2:7e0e8ee8: kazoo: consumer unallocated structure prevents kazoo from starting on busy systems

Luis Azedo luis at 2600hz.com
Tue Mar 10 09:23:31 CET 2015


Module: kamailio
Branch: 4.2
Commit: 7e0e8ee8e0753590e00445094b12bcefcf24605d
URL: https://github.com/kamailio/kamailio/commit/7e0e8ee8e0753590e00445094b12bcefcf24605d

Author: Luis Azedo <luis at 2600hz.com>
Committer: Luis Azedo <luis at 2600hz.com>
Date: 2015-03-10T08:23:11Z

kazoo: consumer unallocated structure prevents kazoo from starting on busy systems

when kamailio starts, publisher begins to process without checking memory allocation initialized by consumer

allocate bind structure once at initialization
change the order of child process initialization
change targeted binding

(cherry picked from commit 6e1b56cb6d640db820254b8c69f7fd6e20865465)

---

Modified: modules/kazoo/kazoo.c
Modified: modules/kazoo/kz_amqp.c

---

Diff:  https://github.com/kamailio/kamailio/commit/7e0e8ee8e0753590e00445094b12bcefcf24605d.diff
Patch: https://github.com/kamailio/kamailio/commit/7e0e8ee8e0753590e00445094b12bcefcf24605d.patch




More information about the sr-dev mailing list