浏览代码

fx: 测试修复

master
SisMaker 3 年前
父节点
当前提交
cfe3394cf0
共有 4 个文件被更改,包括 0 次插入5 次删除
  1. +0
    -1
      src/proxyPt/ntPptListener.erl
  2. +0
    -1
      src/ssl/ntSslListener.erl
  3. +0
    -1
      src/tcp/ntTcpListener.erl
  4. +0
    -2
      src/udp/ntUdpSrv.erl

+ 0
- 1
src/proxyPt/ntPptListener.erl 查看文件

@ -92,7 +92,6 @@ loop(Parent, State) ->
-define(DefTcpOpts, [{nodelay, true}, {reuseaddr, true}, {send_timeout, 30000}, {send_timeout_close, true}]).
init({AptSupName, Port, ListenOpts}) ->
process_flag(trap_exit, true),
TcpOpts = ?getLValue(tcpOpts, ListenOpts, []),
LastTcpOpts = ntCom:mergeOpts(?DefTcpOpts, TcpOpts),
%% Don't active the socket...

+ 0
- 1
src/ssl/ntSslListener.erl 查看文件

@ -92,7 +92,6 @@ loop(Parent, State) ->
-define(DefTcpOpts, [{nodelay, true}, {reuseaddr, true}, {send_timeout, 30000}, {send_timeout_close, true}]).
init({AptSupName, Port, ListenOpts}) ->
process_flag(trap_exit, true),
TcpOpts = ?getLValue(tcpOpts, ListenOpts, []),
LastTcpOpts = ntCom:mergeOpts(?DefTcpOpts, TcpOpts),
%% Don't active the socket...

+ 0
- 1
src/tcp/ntTcpListener.erl 查看文件

@ -92,7 +92,6 @@ loop(Parent, State) ->
-define(DefTcpOpts, [{nodelay, true}, {reuseaddr, true}, {send_timeout, 30000}, {send_timeout_close, true}]).
init({AptSupName, Port, ListenOpts}) ->
process_flag(trap_exit, true),
TcpOpts = ?getLValue(tcpOpts, ListenOpts, []),
LastTcpOpts = ntCom:mergeOpts(?DefTcpOpts, TcpOpts),
%% Don't active the socket...

+ 0
- 2
src/udp/ntUdpSrv.erl 查看文件

@ -95,8 +95,6 @@ loop(Parent, State) ->
-define(DefUdpOpts, [binary, {reuseaddr, true}]).
init({Port, UoOpts}) ->
process_flag(trap_exit, true),
UdpOpts = ?getLValue(udpOpts, UoOpts, []),
LastUdpOpts = ntCom:mergeOpts(?DefUdpOpts, UdpOpts),
%% Don't active the socket...

正在加载...
取消
保存