MGW_NAT: disable nagle on SCTP sockets
This should cut down our latencies in forwarding the messages in the mgw_nat. Thanks to zecke for the hint...
This commit is contained in:
parent
3ae9813cb2
commit
097ad255f6
|
@ -39,7 +39,7 @@
|
|||
rewrite_act_mod
|
||||
}).
|
||||
|
||||
-define(COMMON_SOCKOPTS, [{active, once}, {reuseaddr, true}]).
|
||||
-define(COMMON_SOCKOPTS, [{active, once}, {reuseaddr, true}, {sctp_nodelay, true}]).
|
||||
|
||||
% initialize the sockets towards MSC (listening) and STP (connect)
|
||||
init(MscLocalIP, MscLocalPort, MscRemoteIP, StpRemoteIP, StpRemotePort, RewriteActMod) ->
|
||||
|
|
Loading…
Reference in New Issue