[OpenSIPS-Devel] [OpenSIPS/opensips] 82fd3a: Fix computing the pinging partition in timer job.

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Sep 29 15:41:59 CEST 2016


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 82fd3ae683b7fc108d47760f73cbdd80f2dd70af
      https://github.com/OpenSIPS/opensips/commit/82fd3ae683b7fc108d47760f73cbdd80f2dd70af
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-09-29 (Thu, 29 Sep 2016)

  Changed paths:
    M modules/nathelper/nathelper.c

  Log Message:
  -----------
  Fix computing the pinging partition in timer job.

Avoid using static variables in timer jobs as they may be run in different processes, leading to unexpected results.
Many thanks to Andrew ( @kertor on GITHUB) for spotting and reporting this.
Fixes #959




More information about the Devel mailing list