[sr-dev] FW: git:master:7739284d: kazoo : fork process with tcp option

Daniel-Constantin Mierla miconda at gmail.com
Tue Dec 30 09:39:54 CET 2014


Hello,

yes, it is a fix -- only new features must not be backported (as well as
major refactoring affecting other components).

Cheers,
Daniel

On 30/12/14 01:06, Luis Azedo wrote:
> Hi Daniel,
>
> i would like to cherrypick this commit into 4.2 branch, is that ok ?
>
> ________________________________________
> From: sr-dev [sr-dev-bounces at lists.sip-router.org] on behalf of Luis Azedo [luis at 2600hz.com]
> Sent: Friday, December 26, 2014 12:07 PM
> To: sr-dev at lists.sip-router.org
> Subject: [sr-dev] FW: git:master:7739284d: kazoo : fork process with tcp option
>
> Hi Daniel,
>
> i would like to cherrypick this commit into 4.2 branch, is that ok ?
> ________________________________________
> From: sr-dev [sr-dev-bounces at lists.sip-router.org] on behalf of lazedo [luis.azedo at factorlusitano.com]
> Sent: Friday, December 26, 2014 10:46 AM
> To: sr-dev at lists.sip-router.org
> Subject: [sr-dev] git:master:7739284d: kazoo : fork process with tcp option
>
> Module: kamailio
> Branch: master
> Commit: 7739284d78f85c42621cd3dd76dad0149c9329e4
> URL: https://github.com/kamailio/kamailio/commit/7739284d78f85c42621cd3dd76dad0149c9329e4
>
> Author: lazedo <luis.azedo at factorlusitano.com>
> Committer: lazedo <luis.azedo at factorlusitano.com>
> Date: 2014-12-26T18:46:41Z
>
> kazoo : fork process with tcp option
>
> ---
>
> Modified: modules/kazoo/kazoo.c
>
> ---
>
> Diff:  https://github.com/kamailio/kamailio/commit/7739284d78f85c42621cd3dd76dad0149c9329e4.diff
> Patch: https://github.com/kamailio/kamailio/commit/7739284d78f85c42621cd3dd76dad0149c9329e4.patch
>
> ---
>
> diff --git a/modules/kazoo/kazoo.c b/modules/kazoo/kazoo.c
> index 2f96e8a..466919d 100644
> --- a/modules/kazoo/kazoo.c
> +++ b/modules/kazoo/kazoo.c
> @@ -276,7 +276,7 @@ static int mod_child_init(int rank)
>
>
>         if (rank==PROC_MAIN) {
> -               pid=fork_process(1, "AMQP Manager", 0);
> +               pid=fork_process(1, "AMQP Manager", 1);
>                 if (pid<0)
>                         return -1; /* error */
>                 if(pid==0){
> @@ -284,7 +284,7 @@ static int mod_child_init(int rank)
>                 }
>                 else {
>                         for(i=0; i < dbk_consumer_processes; i++) {
> -                               pid=fork_process(i+2, "AMQP Consumer", 0);
> +                               pid=fork_process(i+2, "AMQP Consumer", 1);
>                                 if (pid<0)
>                                         return -1; /* error */
>                                 if(pid==0){
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-dev mailing list