[OpenSIPS-Devel] [OpenSIPS/opensips] b707c3: Added PROC_FLAG_NEEDS_SCRIPT for module procs

Bogdan Andrei IANCU noreply at github.com
Thu Apr 22 09:00:57 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b707c38644a98ee651dca21dc4bb37d4198a0a3d
      https://github.com/OpenSIPS/opensips/commit/b707c38644a98ee651dca21dc4bb37d4198a0a3d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M modules/httpd/httpd.c
    M modules/mi_datagram/mi_datagram.c
    M modules/mi_fifo/mi_fifo.c
    M sr_module.c
    M sr_module.h

  Log Message:
  -----------
  Added PROC_FLAG_NEEDS_SCRIPT for module procs

By this flag, the module process indicates that it needs access to the script routes. The core will expose the loaded routes to this process and also do the routes reload for it (via IPC).
Note: having the routes requires also the reloading (IPC), so PROC_FLAG_NEEDS_SCRIPT will automaticall imply PROC_FLAG_HAS_IPC also, just to be sure we have a consistent setting for the process.





More information about the Devel mailing list