[OpenSIPS-Devel] [OpenSIPS/opensips] 979bfd: dialog: fix double decrement issue with cachedb sh...

Vlad Pătrașcu noreply at github.com
Mon Jan 13 09:16:45 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 979bfdd2ae485f22f9ab7fdbabc1a9f1020546d5
      https://github.com/OpenSIPS/opensips/commit/979bfdd2ae485f22f9ab7fdbabc1a9f1020546d5
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_profile.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog: fix double decrement issue with cachedb shared profiles

If dialog replication is enabled and a dialog expires, the cachedb counter
will now only be decremented if the sharing tag is active.

Fixes #1937

(cherry picked from commit 19bbf8ca08638d938c32ebf467207357dcb95425)





More information about the Devel mailing list