aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/doc/src/diameter_app.xml
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-09-23 19:55:01 +0200
committerAnders Svensson <[email protected]>2011-09-26 17:00:23 +0200
commit7d38b593e8b1624e1ce2cda8fa57a42cdf2d3068 (patch)
tree4ccd0b5fac800e1d0a8f3cf1d582d5fa13e7bd9b /lib/diameter/doc/src/diameter_app.xml
parent97f3a064f27843a9f825210c1c7a27075b7b3ad7 (diff)
downloadotp-7d38b593e8b1624e1ce2cda8fa57a42cdf2d3068.tar.gz
otp-7d38b593e8b1624e1ce2cda8fa57a42cdf2d3068.tar.bz2
otp-7d38b593e8b1624e1ce2cda8fa57a42cdf2d3068.zip
Fix and clarify semantics of peer filters
An eval filter returning a non-true value caused the call process to fail and the doc was vague on how an exception was treated. Clarify that the non-tuple host/realm filters assume messages of a certain form. Various minor corrections to align code and doc.
Diffstat (limited to 'lib/diameter/doc/src/diameter_app.xml')
-rw-r--r--lib/diameter/doc/src/diameter_app.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/diameter/doc/src/diameter_app.xml b/lib/diameter/doc/src/diameter_app.xml
index fc359b9d1d..f2bada84ae 100644
--- a/lib/diameter/doc/src/diameter_app.xml
+++ b/lib/diameter/doc/src/diameter_app.xml
@@ -269,7 +269,12 @@ The candidate peers list will only include those
which are selected by any <c>filter</c> option specified in the call to
<seealso marker="diameter#call">diameter:call/4</seealso>, and only
those which have indicated support for the Diameter application in
-question.</p>
+question.
+The order of the elements is unspecified except that any
+peers whose Origin-Host and Origin-Realm matches that of the
+outgoing request (in the sense of a <c>{filter, {all, [host, realm]}}</c>
+option to <seealso marker="diameter#call">diameter:call/4</seealso>)
+will be placed at the head of the list.</p>
<p>
The return values <c>false</c> and <c>{false, State}</c> are