[OpenSIPS-Devel] [OpenSIPS/opensips] f1f554: Do waitpid() if a SIGCHILD is received.

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jan 21 15:03:45 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f1f5545278d4690fa92060491299e7f0917e9661
      https://github.com/OpenSIPS/opensips/commit/f1f5545278d4690fa92060491299e7f0917e9661
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M main.c

  Log Message:
  -----------
  Do waitpid() if a SIGCHILD is received.

Generic handling on non-OpenSIPS processes (external forks) - if an OpenSIPS process receives SIGCHILD, do automatically a waitpid (non-blocking) to avoid zombi processes.


  Commit: bd4b488afee78b30ee4002a9e4291530c095360b
      https://github.com/OpenSIPS/opensips/commit/bd4b488afee78b30ee4002a9e4291530c095360b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M async.c
    M async.h
    M modules/tm/async.c

  Log Message:
  -----------
  Use 2 ret codes - function and async.

We need to have to kinds of return codes in parallel - the return code of the function, reporting whatever it is doing inside (like for the sync'ed functions) and one for the async engine, to report what is the status of the async part (started, not started, done in sync way, no IO done, etc).


  Commit: 870ab0148d4875764a19c84278e3f4b6f659475f
      https://github.com/OpenSIPS/opensips/commit/870ab0148d4875764a19c84278e3f4b6f659475f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M modules/exec/README
    M modules/exec/doc/exec_admin.xml
    M modules/exec/exec.c
    M modules/exec/exec.h
    M modules/exec/exec_mod.c

  Log Message:
  -----------
  Several updates:

-use the "async_status" to report the status at async level
-drop the old async implementation (kind of exec and do not wait)
-if no output is required from command, do not wait on it at all
-README file updated


  Commit: 92334e69f78f5e1c9c871f142ab9beb698be7a37
      https://github.com/OpenSIPS/opensips/commit/92334e69f78f5e1c9c871f142ab9beb698be7a37
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M modules/rest_client/README
    M modules/rest_client/doc/rest_client_admin.xml
    M modules/rest_client/rest_client.c
    M modules/rest_client/rest_methods.c

  Log Message:
  -----------
  Updates on return codes and README


  Commit: 4787f577c097cda37d4f979546d674baf17e6a2e
      https://github.com/OpenSIPS/opensips/commit/4787f577c097cda37d4f979546d674baf17e6a2e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M modules/exec/README
    M modules/exec/doc/exec_admin.xml

  Log Message:
  -----------
  README fix


Compare: https://github.com/OpenSIPS/opensips/compare/3e18886730f3...4787f577c097


More information about the Devel mailing list