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

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


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

(cherry picked from commit 82fd3ae683b7fc108d47760f73cbdd80f2dd70af)
(cherry picked from commit c8ee7d514ce817a57682b63a687c5ecad6261d59)




More information about the Devel mailing list