diff options
author | Anders Svensson <[email protected]> | 2017-07-06 09:58:07 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-08-03 17:14:27 +0200 |
commit | 722fa41564381dff0b7aa2b465193db30bb2f02f (patch) | |
tree | 67afd73ba56f5a55b4b804c0f99d6202d58ab65c /lib/diameter/doc | |
parent | e30c38a44bbe2872e5b9b0ad46774c19b6af5292 (diff) | |
download | otp-722fa41564381dff0b7aa2b465193db30bb2f02f.tar.gz otp-722fa41564381dff0b7aa2b465193db30bb2f02f.tar.bz2 otp-722fa41564381dff0b7aa2b465193db30bb2f02f.zip |
Add service_opt() record_decode
To control whether or not messages and grouped AVPs are decoded to
records, in #diameter_packet.msg and #diameter_avp.value respectively.
The decode became unnecessary for diameter's needs in parent commit,
which decoupled it from the checking of AVP arities.
Diffstat (limited to 'lib/diameter/doc')
-rw-r--r-- | lib/diameter/doc/src/diameter.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml index 2cbe48ecce..663c9cc785 100644 --- a/lib/diameter/doc/src/diameter.xml +++ b/lib/diameter/doc/src/diameter.xml @@ -970,6 +970,29 @@ occur in the message in question.</p> </item> <tag> +<marker id="record_decode"/><c>{record_decode, boolean()}</c></tag> +<item> +<p> +Whether or not to decode message and grouped AVPs to records in the +<c>msg</c> field of diameter_packet records and <c>value</c> field of +diameter_avp records respectively. +If <c>false</c> then the fields are set to the same value.</p> + +<p> +Defaults to <c>true</c>.</p> + +<note> +<p> +Disabling the record is useful for applications in which the records +aren't used/needed. +AVP values are available in the <c>avps</c> field of +diameter_packet records regardless of whether or not there is a record +decode.</p> +</note> + +</item> + +<tag> <marker id="string_decode"/><c>{string_decode, boolean()}</c></tag> <item> <p> |