[OpenSIPS-Devel] [OpenSIPS/opensips] fb1e86: The internal_fork() returns the process internal I...

Bogdan Andrei IANCU noreply at github.com
Tue Feb 5 08:05:16 EST 2019


  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fb1e8611a6cb804c3b9420a444d21bf2ae8e239e
      https://github.com/OpenSIPS/opensips/commit/fb1e8611a6cb804c3b9420a444d21bf2ae8e239e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M net/net_tcp.c
    M net/net_udp.c
    M pt.c
    M sr_module.c
    M timer.c

  Log Message:
  -----------
  The internal_fork() returns the process internal ID, not the PID.

This is a much simpler way to reference processes.


  Commit: 5a46380f236f637070a117e7915430f4e282cfb8
      https://github.com/OpenSIPS/opensips/commit/5a46380f236f637070a117e7915430f4e282cfb8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M net/net_udp.c
    M pt.c

  Log Message:
  -----------
  Fix handling of failed dynamic forking.

Reset the process slot if the newly forked process failed -> the slot will be reused for another future fork.


Compare: https://github.com/OpenSIPS/opensips/compare/9f7b98762f9e...5a46380f236f



More information about the Devel mailing list