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

Bogdan Andrei IANCU noreply at github.com
Thu Feb 2 13:48:20 UTC 2023


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 658a2dd8cd6cc9eb46a56c5d1f00ee85fbc9ad42
      https://github.com/OpenSIPS/opensips/commit/658a2dd8cd6cc9eb46a56c5d1f00ee85fbc9ad42
  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)
(cherry picked from commit e13fa97b456b37ad818c1e5c8af1194c2ec36b64)





More information about the Devel mailing list