Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6a920dd3fd1e5605d08acbd79b0b9e9994008d00
      
https://github.com/OpenSIPS/opensips/commit/6a920dd3fd1e5605d08acbd79b0b9e9994008d00
  Author: Razvan Crainea <raz...@opensips.org>
  Date:   2021-04-19 (Mon, 19 Apr 2021)

  Changed paths:
    M modules/rtpproxy/notification_process.c
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: fix initializing child

If a process is not started with flag PROC_FLAG_INITCHILD, OpenSIPS will
not be interested in its init status, thus the extra process will not be
able to report its initializing state.
If however it was doing that, it would hit the bug reported in
ticket #2259, where the attendant was badly couting the number of
processes that need to be initialized, due to the fact that it would not
see any updates (in this case of the exports.procs structure) the
process would be doing in its mod_init().
Credits go to @ghmj2417 for reporting this in #2259 and to Bogdan
Andrei IANCU (@bogdan-iancu) for brainstorming the final solution.



_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to