[OpenSIPS-Devel] [OpenSIPS/opensips] 160b42: Avoid locking during shutdown

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jul 27 04:54:57 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 160b4241091062eb23f94c41391b97dba75d156e
      https://github.com/OpenSIPS/opensips/commit/160b4241091062eb23f94c41391b97dba75d156e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  Avoid locking during shutdown

Do not do locking when running the destroy handler, as we may get into a deadlock (if a worker process got killed while holding the lock).




More information about the Devel mailing list