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

Liviu Chircu liviu at opensips.org
Thu Jun 5 16:41:11 CEST 2014


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 32b5ce8ddc386910ca2ac372b681e196ca56c059
      https://github.com/OpenSIPS/opensips/commit/32b5ce8ddc386910ca2ac372b681e196ca56c059
  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
(cherry picked from commit b54afe38bb869cca1c061a1db17abc4869d708c2)




More information about the Devel mailing list