[OpenSIPS-Devel] [OpenSIPS/opensips] c72c82: cgrates: initialize sessions lock

Răzvan Crainea noreply at github.com
Fri May 7 09:02:48 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c72c82dfce60d3e4876963ffb2b978d3afcfda8b
      https://github.com/OpenSIPS/opensips/commit/c72c82dfce60d3e4876963ffb2b978d3afcfda8b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
    M modules/cgrates/cgrates_acc.c

  Log Message:
  -----------
  cgrates: initialize sessions lock

Without the init, the lock might start as locked, thus OpenSIPS would
have locked at first context. This was initially reported in
ticket #2271.

Credits go to Barny Ritchley (@barnabyritchley on GitHub) from
SIPSynergy for reporting and providing testing environments.

(cherry picked from commit 40e660d74470ac14643b20a952dd8ebe21454480)





More information about the Devel mailing list