[OpenSIPS-Devel] [OpenSIPS/opensips] 1a104d: [tcp layer] avoid locking and events while shutdown

Bogdan Andrei IANCU noreply at github.com
Thu Feb 2 13:43:11 UTC 2023


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1a104d6b539cad5c6e063eb59a335671dcd6fde6
      https://github.com/OpenSIPS/opensips/commit/1a104d6b539cad5c6e063eb59a335671dcd6fde6
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  [tcp layer] avoid locking and events while shutdown

Upon shutdown, when all the TCP conns are destroyed, do not use any locking (we are in single process mode any how) and do not raise any disconnect events (false events here)

(cherry picked from commit f953b30c42f84f5709bbc125ddf016d499f55485)





More information about the Devel mailing list