aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-09-08 17:34:26 +0200
committerAnders Svensson <[email protected]>2017-09-08 17:35:55 +0200
commit21d62756235924bd56346fbdd6418f12b15a73e0 (patch)
treeb27eda83358db966d86152f6a8be22c1ae7e5004 /lib/diameter/src/base
parentae6966491183c62f6513b175aaede785871240cf (diff)
downloadotp-21d62756235924bd56346fbdd6418f12b15a73e0.tar.gz
otp-21d62756235924bd56346fbdd6418f12b15a73e0.tar.bz2
otp-21d62756235924bd56346fbdd6418f12b15a73e0.zip
Fix strict_arities blunder
The watchdog process retained the configuration, causing DWR/DWA encode to fail on a string-valued Origin-Host/Realm if the encode arity was relaxed. Bungled in commit 5f3becad.
Diffstat (limited to 'lib/diameter/src/base')
-rw-r--r--lib/diameter/src/base/diameter_watchdog.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_watchdog.erl b/lib/diameter/src/base/diameter_watchdog.erl
index bb671e9860..f8e091c732 100644
--- a/lib/diameter/src/base/diameter_watchdog.erl
+++ b/lib/diameter/src/base/diameter_watchdog.erl
@@ -74,7 +74,6 @@
okay := non_neg_integer()}, %% REOPEN -> OKAY
codec :: #{decode_format := false,
string_decode := false,
- strict_arities => diameter:strict_arities(),
strict_mbit := boolean(),
rfc := 3588 | 6733,
ordered_encode := false},
@@ -152,7 +151,6 @@ i({Ack, T, Pid, {Opts,
okay => 3},
Opts)),
codec = maps:with([decode_format,
- strict_arities,
strict_mbit,
string_decode,
rfc,