[OpenSIPS/opensips] 52540b: evi: fix subscribers list mi cmd

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] 52540b: evi: fix subscribers list mi cmd

Liviu Chircu-3
  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 52540b7d175154978958a15038bf3e75578b7681
      https://github.com/OpenSIPS/opensips/commit/52540b7d175154978958a15038bf3e75578b7681
  Author: Razvan Crainea <[hidden email]>
  Date:   2019-07-23 (Tue, 23 Jul 2019)

  Changed paths:
    M evi/event_interface.c

  Log Message:
  -----------
  evi: fix subscribers list mi cmd

(cherry picked from commit 73cc6ec8da931ce919d89a351de8a556d5952789)


  Commit: a69707a0f8f2ed82be53f636e6fe10144221a216
      https://github.com/OpenSIPS/opensips/commit/a69707a0f8f2ed82be53f636e6fe10144221a216
  Author: Razvan Crainea <[hidden email]>
  Date:   2019-07-23 (Tue, 23 Jul 2019)

  Changed paths:
    M modules/event_jsonrpc/jsonrpc_send.c
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_xmlrpc/xmlrpc_send.c
    M modules/sngtc/sngtc.c
    M pt.c
    M pt.h

  Log Message:
  -----------
  pt: expose number of processes at mod_init

Add a function that exposes the number of processes at mod_init(). Even
if this is not entirely accurate (some processes might remove their
external processes during mod_init), it's the best chance we can get to
count the number of pipes we need to create for modules that use
synchronous communication.

This fix solves event_* sync processing.

Thanks go to Rizwan Syed for reporting this, close #1768

(cherry picked from commit 139bb4c0c65e8ec5a7c870c3fc9f35fcf2c24b87)


Compare: https://github.com/OpenSIPS/opensips/compare/d7d74d62c1f2...a69707a0f8f2

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel