[OpenSIPS-Devel] [OpenSIPS/opensips] db5fe2: Add application flags in the reactor fd map

Bogdan Andrei IANCU noreply at github.com
Thu Apr 11 12:03:39 EDT 2019


  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: db5fe244b7e2e978ee3a25e2ea5344441ede2f18
      https://github.com/OpenSIPS/opensips/commit/db5fe244b7e2e978ee3a25e2ea5344441ede2f18
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-04-11 (Thu, 11 Apr 2019)

  Changed paths:
    M io_wait.c
    M io_wait.h
    M reactor_defs.h

  Log Message:
  -----------
  Add application flags in the reactor fd map

The new app flags allow the code using a reactor to mark and check the existing fds, without interfering with the reactor internals


  Commit: 05798d860cb4a30da637f00fc08af9e5d7845716
      https://github.com/OpenSIPS/opensips/commit/05798d860cb4a30da637f00fc08af9e5d7845716
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-04-11 (Thu, 11 Apr 2019)

  Changed paths:
    M cfg_reload.c
    M cfg_reload.h

  Log Message:
  -----------
  Add support for keeping old/prev cfg after reload

In order to properly handle the ongoing async ops, we need to keep the prev cfg until all the ongoing async ops are done and corresponding FDs removed from reactor


  Commit: 09d02482e726ca2866006bc2cdcd5741072e6ed6
      https://github.com/OpenSIPS/opensips/commit/09d02482e726ca2866006bc2cdcd5741072e6ed6
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-04-11 (Thu, 11 Apr 2019)

  Changed paths:
    M cfg_reload.c

  Log Message:
  -----------
  Prevent a new reload while not fully switched to latest cfg


  Commit: 26db23088fe82a05fcbb81db9a59a6774da94269
      https://github.com/OpenSIPS/opensips/commit/26db23088fe82a05fcbb81db9a59a6774da94269
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-04-11 (Thu, 11 Apr 2019)

  Changed paths:
    M net/net_tcp_proc.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  Add async-draing during reload for TCP/UDP/timer reactors


Compare: https://github.com/OpenSIPS/opensips/compare/65af0b5c8ce2...26db23088fe8



More information about the Devel mailing list