aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/doc
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-08-27 14:53:41 +0200
committerAnders Svensson <[email protected]>2017-08-28 15:25:53 +0200
commitce08fb57a66d20fdb3074ca62b7aac0228825e0a (patch)
tree9e77fd21d262b296c86206a82ea76c1007d1bc9f /lib/diameter/doc
parent0bb9e7f639042f8803c3937581ddc9210fd60418 (diff)
downloadotp-ce08fb57a66d20fdb3074ca62b7aac0228825e0a.tar.gz
otp-ce08fb57a66d20fdb3074ca62b7aac0228825e0a.tar.bz2
otp-ce08fb57a66d20fdb3074ca62b7aac0228825e0a.zip
Fix influence of decode_format on service events
Decoded CER/CEA messages are passed in events messages that can be subscribed to using diameter:subscribe/1. A configured decode_format was not reflected in these, messages always being passed as records. Clarify that strict_arities only applies to message callbacks.
Diffstat (limited to 'lib/diameter/doc')
-rw-r--r--lib/diameter/doc/src/diameter.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml
index 3ad24257a5..ad82cafd2f 100644
--- a/lib/diameter/doc/src/diameter.xml
+++ b/lib/diameter/doc/src/diameter.xml
@@ -962,7 +962,8 @@ Defaults to the empty list.</p>
<item>
<p>
Whether or not to require that the number of AVPs in a message or
-grouped AVP agree with those specified in the dictionary in question.
+grouped AVP agree with those specified in the dictionary in question
+when passing messages to &man_app; callbacks.
If <c>true</c> then mismatches in an outgoing messages cause message
encoding to fail, while mismatches in an incoming message are reported
as 5005/5009 errors in the errors field of the diameter_packet record