aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_config.erl
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/src/base/diameter_config.erl
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/src/base/diameter_config.erl')
-rw-r--r--lib/diameter/src/base/diameter_config.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_config.erl b/lib/diameter/src/base/diameter_config.erl
index aa4d6e5a20..a89831aa5e 100644
--- a/lib/diameter/src/base/diameter_config.erl
+++ b/lib/diameter/src/base/diameter_config.erl
@@ -534,6 +534,7 @@ opt({capabilities, Os}) ->
opt({K, Tmo})
when K == capx_timeout;
+ K == dpr_timeout;
K == dpa_timeout ->
?IS_UINT32(Tmo);