[OpenSIPS-Devel] [OpenSIPS/opensips] a2e4e7: Added ipc_dispatch_rpc() similar to ipc_dispatch_j...
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Feb 5 12:32:47 EST 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: a2e4e73ff7ea04a4a451a3425613e9612da57749
https://github.com/OpenSIPS/opensips/commit/a2e4e73ff7ea04a4a451a3425613e9612da57749
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M ipc.c
M ipc.h
Log Message:
-----------
Added ipc_dispatch_rpc() similar to ipc_dispatch_job()
ipc_dispatch_rpc() will run the RPC function into any idle/available process
Commit: 293d87a28d30a56d8f40b8e835f2040c00b88425
https://github.com/OpenSIPS/opensips/commit/293d87a28d30a56d8f40b8e835f2040c00b88425
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M net/net_tcp.c
M net/net_tcp_report.c
M net/net_tcp_report.h
Log Message:
-----------
Migrated TCP reporting to RPC dispatching.
Instead of passing the reporting to the last TCP worker (ugly hack with process_no-2), simply dispatch to any available work the job of pushing the TCP report to the HEP backend.
Also fixed shmem leak with IPC jobs.
Compare: https://github.com/OpenSIPS/opensips/compare/55e9479b32c2...293d87a28d30
More information about the Devel
mailing list