[OpenSIPS-Devel] [OpenSIPS/opensips] fd0657: [evi] do not raise event from TCP MAIN
Bogdan Andrei IANCU
noreply at github.com
Mon Oct 9 12:31:25 UTC 2023
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: fd0657602734f242223e99655e49aa967ffec423
https://github.com/OpenSIPS/opensips/commit/fd0657602734f242223e99655e49aa967ffec423
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2023-10-09 (Mon, 09 Oct 2023)
Changed paths:
M evi/event_interface.c
M evi/evi_modules.h
M net/net_tcp.c
Log Message:
-----------
[evi] do not raise event from TCP MAIN
The TCP MAIN process does not have script capabilities, so we should NOT raise event here (as they may translate into scripting due to the event_route module). So, if we have an event to be raised from TCP MAIN (as E_CORE_TCP_DISCONNECT) we better use the newly added evi_dispatch_event() function which does IPC dispatching (into a different process) and raise for the event.
Closes #3212
More information about the Devel
mailing list