diff options
author | Anders Svensson <[email protected]> | 2017-04-13 10:26:36 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-06-13 14:03:58 +0200 |
commit | c74b1c4a46c71bd3b258477ca4bf1b5d39c5095e (patch) | |
tree | c57904f6ead9863c8ed35a1ed24de47d05910d0c /lib/diameter/src/base/diameter.erl | |
parent | 2013b1c55e2c199e59610cf9bb7e0cb60424f276 (diff) | |
download | otp-c74b1c4a46c71bd3b258477ca4bf1b5d39c5095e.tar.gz otp-c74b1c4a46c71bd3b258477ca4bf1b5d39c5095e.tar.bz2 otp-c74b1c4a46c71bd3b258477ca4bf1b5d39c5095e.zip |
Let candidate peers be passed to diameter:call/4
To solve the problem of being able to send messages to a peer that
hasn't advertised support for the application in question, as discussed
in the parent commit. diameter:call/4 can be passed 'peer' options to
identify candidates, and the only requirement is that an appropriate
dictionary be configured for encode. Filters are applied as if
candidates had been selected by advertised application.
Diffstat (limited to 'lib/diameter/src/base/diameter.erl')
-rw-r--r-- | lib/diameter/src/base/diameter.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter.erl b/lib/diameter/src/base/diameter.erl index 253f64133c..bd92e16fba 100644 --- a/lib/diameter/src/base/diameter.erl +++ b/lib/diameter/src/base/diameter.erl @@ -406,4 +406,5 @@ call(SvcName, App, Message) -> :: {extra, list()} | {filter, peer_filter()} | {timeout, 'Unsigned32'()} + | {peer, peer_ref()} | detach. |