aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-11-15 15:47:02 +0100
committerAnders Svensson <[email protected]>2012-11-15 16:09:59 +0100
commit81e2c30e1dd83974e6a41f0988124501da1e8ad6 (patch)
tree0402eaea0f953bdd5377803b2efb284b88c77e3c
parent62403f98c887a1b2e99e41da576c171c29d59193 (diff)
downloadotp-81e2c30e1dd83974e6a41f0988124501da1e8ad6.tar.gz
otp-81e2c30e1dd83974e6a41f0988124501da1e8ad6.tar.bz2
otp-81e2c30e1dd83974e6a41f0988124501da1e8ad6.zip
Add comment about lack of identifier checks on DWA
-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