diff options
author | Anders Svensson <[email protected]> | 2011-10-12 18:39:36 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2011-11-10 16:23:50 +0100 |
commit | 30db65a00da4b0105faa760856286b42f0cde3e8 (patch) | |
tree | 753372ef5b956c5a5252fdf9cdb7cbc0e9e8be22 /lib/diameter/src/base/diameter_peer.erl | |
parent | e20bc73324e9e2e4fc5efedfb905bfe4b5c6664a (diff) | |
download | otp-30db65a00da4b0105faa760856286b42f0cde3e8.tar.gz otp-30db65a00da4b0105faa760856286b42f0cde3e8.tar.bz2 otp-30db65a00da4b0105faa760856286b42f0cde3e8.zip |
Add capabilities_cb transport option
Value is a function that's applied to the transport reference
and capabilities record after capabilities exchange. If a callback
returns anything but 'ok' then the connection is closed. In the case
of an incoming CER, the callback can return a result code with which
to answer. Multiple callbacks can be specified and are applied until
either all return 'ok' or one doesn't.
Also, include Origin-State-Id in answers where it was previously
omitted.
Diffstat (limited to 'lib/diameter/src/base/diameter_peer.erl')
0 files changed, 0 insertions, 0 deletions