[OpenSIPS/opensips] ac4b46: usrloc shutdown: Destroy the CDB conn _after_ cleanup

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

[OpenSIPS/opensips] ac4b46: usrloc shutdown: Destroy the CDB conn _after_ cleanup

Răzvan Crainea-3
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ac4b46965d8559c2dfb61b1adb6d96986f893d89
      https://github.com/OpenSIPS/opensips/commit/ac4b46965d8559c2dfb61b1adb6d96986f893d89
  Author: Liviu Chircu <[hidden email]>
  Date:   2019-07-24 (Wed, 24 Jul 2019)

  Changed paths:
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  usrloc shutdown: Destroy the CDB conn _after_ cleanup

This fixes a possible crash on shutdown whenever a contact expires
during the shutdown and needs to be flushed.

Credits to @bogdan-iancu for the accurate report

(cherry picked from commit 94bbbebbcf99843baa5b6d60e699a466c9adc3d2)



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