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

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


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bfe9bdb69a27c3a640ad116c18d82e0155e583ce
      https://github.com/OpenSIPS/opensips/commit/bfe9bdb69a27c3a640ad116c18d82e0155e583ce
  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