aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-07-27 08:54:24 +0200
committerAnders Svensson <[email protected]>2012-08-23 13:57:23 +0200
commitae78b0ef5dea1806ab186e351de1ba3054c63c5f (patch)
treefb4e99678ed33877d04fd547f2e608da9937dc94 /lib/diameter/src/base/diameter.erl
parentcfea5eea406ba3af96588ff458e55de9a149d9c5 (diff)
downloadotp-ae78b0ef5dea1806ab186e351de1ba3054c63c5f.tar.gz
otp-ae78b0ef5dea1806ab186e351de1ba3054c63c5f.tar.bz2
otp-ae78b0ef5dea1806ab186e351de1ba3054c63c5f.zip
Allow multiple transport_module and transport_config
Transports are started one after the other if a connection is not established with the timeout that can now be specified with transport_config. For example, try an SCTP connect first, a TCP connect if it doesn't succeed.
Diffstat (limited to 'lib/diameter/src/base/diameter.erl')
-rw-r--r--lib/diameter/src/base/diameter.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter.erl b/lib/diameter/src/base/diameter.erl
index 336f0c1f2d..6703841f80 100644
--- a/lib/diameter/src/base/diameter.erl
+++ b/lib/diameter/src/base/diameter.erl
@@ -312,6 +312,7 @@ call(SvcName, App, Message) ->
-type transport_opt()
:: {transport_module, atom()}
| {transport_config, any()}
+ | {transport_timeout, non_neg_integer() | infinity}
| {applications, [app_alias()]}
| {capabilities, [capability()]}
| {capabilities_cb, evaluable()}