aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_watchdog.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-11-18 19:39:04 +0100
committerAnders Svensson <[email protected]>2012-11-18 19:39:04 +0100
commit8134b7447050d9a6bd6b00fa30f4f7162bb342a9 (patch)
treee67805288cb370515e4e2fb337bd45f9b16b5a72 /lib/diameter/src/base/diameter_watchdog.erl
parent66776eeb6efaaddc013b763aa7a218cb16fc7db3 (diff)
parent81e2c30e1dd83974e6a41f0988124501da1e8ad6 (diff)
downloadotp-8134b7447050d9a6bd6b00fa30f4f7162bb342a9.tar.gz
otp-8134b7447050d9a6bd6b00fa30f4f7162bb342a9.tar.bz2
otp-8134b7447050d9a6bd6b00fa30f4f7162bb342a9.zip
Merge branch 'anders/diameter/identifier_checks/OTP-10565' into maint
* anders/diameter/identifier_checks/OTP-10565: Add comment about lack of identifier checks on DWA Add check of End-to-End and Hop-by-Hop identfiers in received DPA Add check of End-to-End and Hop-by-Hop identfiers in received CEA
Diffstat (limited to 'lib/diameter/src/base/diameter_watchdog.erl')
-rw-r--r--lib/diameter/src/base/diameter_watchdog.erl8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_watchdog.erl b/lib/diameter/src/base/diameter_watchdog.erl
index d6a2d2833b..243ad0a986 100644
--- a/lib/diameter/src/base/diameter_watchdog.erl
+++ b/lib/diameter/src/base/diameter_watchdog.erl
@@ -487,6 +487,14 @@ throwaway(S) ->
throw({?MODULE, throwaway, S}).
%% rcv/2
+%%
+%% The lack of Hop-by-Hop and End-to-End Identifiers checks in a
+%% received DWA is intentional. The purpose of the message is to
+%% demonstrate life but a peer that consistently bungles it by sending
+%% the wrong identifiers causes the connection to toggle between OPEN
+%% and SUSPECT, with failover and failback as result, despite there
+%% being no real problem with connectivity. Thus, relax and accept any
+%% incoming DWA as being in response to an outgoing DWR.
%% INITIAL Receive DWA Pending = FALSE
%% Throwaway() INITIAL