aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/include
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2014-05-19 09:10:00 +0200
committerAnders Svensson <[email protected]>2014-05-20 02:43:03 +0200
commit6d087921e7608691ed5cd554484a13b961d3620f (patch)
treec2000cd0d34479bbd56584bb91098ade1fda5ed2 /lib/megaco/include
parent25237481ccccd3ddfa74582dc267632ad618ba30 (diff)
downloadotp-6d087921e7608691ed5cd554484a13b961d3620f.tar.gz
otp-6d087921e7608691ed5cd554484a13b961d3620f.tar.bz2
otp-6d087921e7608691ed5cd554484a13b961d3620f.zip
Fix watchdog table leak
Commit ef5fddcb (diameter-1.4.1, R16B) caused the leak in the case of an accepting watchdog with restrict_connections = false. It (correctly) ensured the state remained at INITIAL but a subsequent 'close' message to terminate the process was ignored since the state was not DOWN. In fact, no 'close' was sent since there was no state transition or previous connection: the former triggers the message from diameter_service, the latter from diameter_watchdog. The message is now sent to self() from the watchdog itself. Send 'close' in the same way when multiple connections to the same peer are allowed, to avoid waiting for a watchdog timer expiry for the process to terminate in this case.
Diffstat (limited to 'lib/megaco/include')
0 files changed, 0 insertions, 0 deletions