[OpenSIPS-Devel] [OpenSIPS/opensips] 431638: Added support for RCP via IPC

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jan 9 04:56:31 EST 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 431638e5841302487278467acec7072b96676c77
      https://github.com/OpenSIPS/opensips/commit/431638e5841302487278467acec7072b96676c77
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M ipc.c
    M ipc.h

  Log Message:
  -----------
  Added support for RCP via IPC

RPC allows you to request another process to run a function of yours.


  Commit: 35c432467234c817c86eacc1570b42a188bbdfe9
      https://github.com/OpenSIPS/opensips/commit/35c432467234c817c86eacc1570b42a188bbdfe9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Moved data loading outside child init

Instead of loading the data in child_init routine, better fire a RPC to itself to perform the load after the child_init is done. This will speed up the OpenSIPS starting sequance, as we can complete the init part and daemonize without waiting for data loading.


  Commit: 421d67004d5264a073f61f20c3f3ecf6bf90ac36
      https://github.com/OpenSIPS/opensips/commit/421d67004d5264a073f61f20c3f3ecf6bf90ac36
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M modules/dialplan/dialplan.c

  Log Message:
  -----------
  Moved data loading outside child init

Instead of loading the data in child_init routine, better fire a RPC to itself to perform the load after the child_init is done. This will speed up the OpenSIPS starting sequance, as we can complete the init part and daemonize without waiting for data loading.


  Commit: a4dcbfc670316c75863d90c43deafe8f7439f8ce
      https://github.com/OpenSIPS/opensips/commit/a4dcbfc670316c75863d90c43deafe8f7439f8ce
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  Moved data loading outside child init

Instead of loading the data in child_init routine, better fire a RPC to itself to perform the load after the child_init is done. This will speed up the OpenSIPS starting sequance, as we can complete the init part and daemonize without waiting for data loading.


  Commit: 1b9541432529799f7953b64d3e19f0789e4e3f65
      https://github.com/OpenSIPS/opensips/commit/1b9541432529799f7953b64d3e19f0789e4e3f65
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Small code cleanup


  Commit: 719f620533e87cc8c0ce8cccce3501616d99a53d
      https://github.com/OpenSIPS/opensips/commit/719f620533e87cc8c0ce8cccce3501616d99a53d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M modules/dialplan/dialplan.c

  Log Message:
  -----------
  Removed bogus connection close at shutdown

There is not DB connection closed in proc MAIN (from dailplan) as the conn is closed in mod_init() after all the DB checks.


Compare: https://github.com/OpenSIPS/opensips/compare/85a2f86442b1...719f620533e8


More information about the Devel mailing list