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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Bogdan-Andrei Iancu-2
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 160b4241091062eb23f94c41391b97dba75d156e
      https://github.com/OpenSIPS/opensips/commit/160b4241091062eb23f94c41391b97dba75d156e
  Author: Bogdan-Andrei Iancu <[hidden email]>
  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).



_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Loading...