From c0687e03e538daab2f8fddda6cd3a235fc6ed447 Mon Sep 17 00:00:00 2001
From: Anders Svensson
Date: Sat, 7 Mar 2015 15:50:05 +0100
Subject: Add transport_opt() dpa_timeout
To make the default DPA timeout configurable. The timeout say how many
milliseconds to wait for DPA in response to an outgoing DPR before
terminating the transport process regardless.
---
lib/diameter/doc/src/diameter.xml | 15 +++++++++++++--
lib/diameter/doc/src/seealso.ent | 3 ++-
2 files changed, 15 insertions(+), 3 deletions(-)
(limited to 'lib/diameter/doc')
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml
index 00b54ffbc4..6aab19b722 100644
--- a/lib/diameter/doc/src/diameter.xml
+++ b/lib/diameter/doc/src/diameter.xml
@@ -21,7 +21,7 @@
2011
-2014
+2015
Ericsson AB. All Rights Reserved.
@@ -1115,7 +1115,7 @@ Defaults to rebooting for Reason=service|application and
The number of milliseconds after which the transport process is
terminated if DPA has not been received.
-Defaults to 1000.
+Defaults to the value of &dpa_timeout;.
@@ -1152,6 +1152,17 @@ configured them.
Defaults to a single callback returning dpr.
+
+{dpa_timeout, &dict_Unsigned32;}
+-
+
+Number of milliseconds after which a transport connection is
+terminated following an outgoing DPR if DPA is not received.
+
+
+Defaults to 1000.
+
+
{length_errors, exit|handle|discard}
-
diff --git a/lib/diameter/doc/src/seealso.ent b/lib/diameter/doc/src/seealso.ent
index 44541afb9b..8d87a4a5e7 100644
--- a/lib/diameter/doc/src/seealso.ent
+++ b/lib/diameter/doc/src/seealso.ent
@@ -4,7 +4,7 @@
%CopyrightBegin%
-Copyright Ericsson AB 2012-2014. All Rights Reserved.
+Copyright Ericsson AB 2012-2015. All Rights Reserved.
The contents of this file are subject to the Erlang Public License,
Version 1.1, (the "License"); you may not use this file except in
@@ -64,6 +64,7 @@ significant.
capabilities_cb'>
capx_timeout'>
disconnect_cb'>
+dpa_timeout'>
transport_config'>
transport_module'>
connect_timer'>
--
cgit v1.2.3