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

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


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





More information about the Devel mailing list