[OpenSIPS/opensips] dc34a8: 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] dc34a8: usrloc shutdown: Destroy the CDB conn _after_ cleanup

Răzvan Crainea-3
  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dc34a8399460ba9f67a8aa21917f9709b2eda4cc
      https://github.com/OpenSIPS/opensips/commit/dc34a8399460ba9f67a8aa21917f9709b2eda4cc
  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