[OpenSIPS-Devel] [OpenSIPS/opensips] b54afe: core statistics: revert to safe allocations

Liviu Chircu liviu at opensips.org
Thu Jun 5 16:32:10 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b54afe38bb869cca1c061a1db17abc4869d708c2
      https://github.com/OpenSIPS/opensips/commit/b54afe38bb869cca1c061a1db17abc4869d708c2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M core_stats.c
    M modules/call_center/cc_data.c
    M statistics.c
    M statistics.h

  Log Message:
  -----------
  core statistics: revert to safe allocations

Commit 42c3d383 is incomplete since some statistics are allocated
in multi-process environments (e.g. udp/tcp load statistics)

This patch fixes this issue, while maintaining the logic behind 42c3d383




More information about the Devel mailing list