diff options
author | Anders Svensson <[email protected]> | 2019-04-14 13:05:50 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2019-04-14 15:33:06 +0200 |
commit | 37df105ad012683de1de4a1db40818dde9c7f3bd (patch) | |
tree | 1ac0f82fd03fcb198f8a1f007eb9d2bc0b37b916 /lib/diameter/src/transport/diameter_tcp.erl | |
parent | 620ac3e68c5bc8b36143965fcf2892a07dc005c4 (diff) | |
download | otp-37df105ad012683de1de4a1db40818dde9c7f3bd.tar.gz otp-37df105ad012683de1de4a1db40818dde9c7f3bd.tar.bz2 otp-37df105ad012683de1de4a1db40818dde9c7f3bd.zip |
Fix inadvertently broad monitor
Commit d9d918b2 added a gen_server whose purpose is to keep track of
visible nodes on which diameter_dist:attach/1 has been called to
register a node as a handler of incoming Diameter requests when
diameter_dist:route_session/2 is configured as spawn_opt MFA. The server
contacts visible nodes at init in order to request information, but
instead of monitoring visible to also be able to request information at
nodeup, it monitored on all nodes, resulting in gen_server casts even to
hidden nodes.
Monitor only on visible nodes since a hidden node may not be able to
deal with the new message.
Diffstat (limited to 'lib/diameter/src/transport/diameter_tcp.erl')
0 files changed, 0 insertions, 0 deletions