aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-03-21 10:11:51 +0100
committerAnders Svensson <[email protected]>2015-03-23 13:23:36 +0100
commit9f496aaba6e8a63180eca3a77d01205ca0fcbff7 (patch)
tree3e4cf37138c8dad7d08fb6ec8873befa69d4c4a1 /lib/diameter/test
parent5228b6e5e3906a7a26e2e730b9f0213844e967a8 (diff)
downloadotp-9f496aaba6e8a63180eca3a77d01205ca0fcbff7.tar.gz
otp-9f496aaba6e8a63180eca3a77d01205ca0fcbff7.tar.bz2
otp-9f496aaba6e8a63180eca3a77d01205ca0fcbff7.zip
Add transport_opt() dpr_timeout
To cause a peer connection to be closed following an outgoing DPA, in case the peer fails to do so. It is the recipient of DPA that should close the connection according to RFC 6733.
Diffstat (limited to 'lib/diameter/test')
-rw-r--r--lib/diameter/test/diameter_config_SUITE.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/diameter/test/diameter_config_SUITE.erl b/lib/diameter/test/diameter_config_SUITE.erl
index e61d3aea0e..6779524b14 100644
--- a/lib/diameter/test/diameter_config_SUITE.erl
+++ b/lib/diameter/test/diameter_config_SUITE.erl
@@ -157,6 +157,9 @@
{length_errors,
[[exit], [handle], [discard]],
[[x]]},
+ {dpr_timeout,
+ [[0], [3000], [16#FFFFFFFF]],
+ [[infinity], [-1], [1 bsl 32], [x]]},
{dpa_timeout,
[[0], [3000], [16#FFFFFFFF]],
[[infinity], [-1], [1 bsl 32], [x]]},