Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fd0657602734f242223e99655e49aa967ffec423
      
https://github.com/OpenSIPS/opensips/commit/fd0657602734f242223e99655e49aa967ffec423
  Author: Bogdan-Andrei Iancu <bog...@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



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

Reply via email to