SisMaker пре 3 година
родитељ
комит
dd522aa7dd
2 измењених фајлова са 3 додато и 3 уклоњено
  1. +2
    -2
      src/eWSrv.erl
  2. +1
    -1
      src/wsSrv/wsTPHer.erl

+ 2
- 2
src/eWSrv.erl Прегледај датотеку

@ -22,7 +22,7 @@ wSrvName(Port) ->
openSrv(Port, WsOpts) ->
T1WsOpts = lists:keystore(conMod, 1, WsOpts, {conMod, wsHttp}),
WsMod = ?wsGLV(wsMod, WsOpts, wsEgHer),
WsMod = ?wsGLV(wsMod, WsOpts, wsTPHer),
T2WsOpts = lists:keystore(conArgs, 1, T1WsOpts, {conArgs, WsMod}),
TcpOpts = ?wsGLV(tcpOpts, T2WsOpts, []),
NewTcpOpts = wsUtil:mergeOpts(?DefWsOpts, TcpOpts),
@ -39,7 +39,7 @@ openSrv(Port, WsOpts) ->
openSrv(WSrvName, Port, WsOpts) ->
T1WsOpts = lists:keystore(conMod, 1, WsOpts, {conMod, wsHttp}),
WsMod = ?wsGLV(wsMod, WsOpts, wsEgHer),
WsMod = ?wsGLV(wsMod, WsOpts, wsTPHer),
T2WsOpts = lists:keystore(conArgs, 1, T1WsOpts, {conArgs, WsMod}),
TcpOpts = ?wsGLV(tcpOpts, T2WsOpts, []),
NewTcpOpts = wsUtil:mergeOpts(?DefWsOpts, TcpOpts),

src/test/wsEgHer.erl → src/wsSrv/wsTPHer.erl Прегледај датотеку

@ -1,4 +1,4 @@
-module(wsEgHer).
-module(wsTPHer).
-behaviour(wsHer).

Loading…
Откажи
Сачувај