[OpenSIPS-Devel] [OpenSIPS/opensips] c8ee7d: Fix computing the pinging partition in timer job.
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu Sep 29 15:45:50 CEST 2016
Branch: refs/heads/2.2
Home: https://github.com/OpenSIPS/opensips
Commit: c8ee7d514ce817a57682b63a687c5ecad6261d59
https://github.com/OpenSIPS/opensips/commit/c8ee7d514ce817a57682b63a687c5ecad6261d59
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)
More information about the Devel
mailing list