aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/transport/diameter_tcp.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-08-29 15:14:19 +0200
committerAnders Svensson <[email protected]>2017-08-29 15:14:19 +0200
commit614cc9aba105f6fe5c72de356be4735c22579ca2 (patch)
treed7a02c0d32786acfe42aa0f741b7e88a5f1c1db1 /lib/diameter/src/transport/diameter_tcp.erl
parenta8769e174aa40a818f1752c29bf3dd529b65a288 (diff)
parentb0582c6963f6dc203f05ed810c9446cf3fa0f0ae (diff)
downloadotp-614cc9aba105f6fe5c72de356be4735c22579ca2.tar.gz
otp-614cc9aba105f6fe5c72de356be4735c22579ca2.tar.bz2
otp-614cc9aba105f6fe5c72de356be4735c22579ca2.zip
Merge branch 'anders/diameter/config_consistency/OTP-14555' into maint
* anders/diameter/config_consistency/OTP-14555: Let strict_mbit and incoming_maxlen be configured per transport Let a service configure default transport options Rename type evaluable -> eval
Diffstat (limited to 'lib/diameter/src/transport/diameter_tcp.erl')
-rw-r--r--lib/diameter/src/transport/diameter_tcp.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/transport/diameter_tcp.erl b/lib/diameter/src/transport/diameter_tcp.erl
index 2b7371df22..a8639baa11 100644
--- a/lib/diameter/src/transport/diameter_tcp.erl
+++ b/lib/diameter/src/transport/diameter_tcp.erl
@@ -110,7 +110,7 @@
-type option() :: {port, non_neg_integer()}
| {sender, boolean()}
| sender
- | {message_cb, false | diameter:evaluable()}
+ | {message_cb, false | diameter:eval()}
| {fragment_timer, 0..16#FFFFFFFF}.
%% Accepting/connecting transport process state.
@@ -125,7 +125,7 @@
timeout :: infinity | 0..16#FFFFFFFF, %% fragment timeout
tref = false :: false | reference(), %% fragment timer reference
flush = false :: boolean(), %% flush fragment at timeout?
- message_cb :: false | diameter:evaluable(),
+ message_cb :: false | diameter:eval(),
send :: pid() | false}). %% sending process
%% The usual transport using gen_tcp can be replaced by anything