SisMaker 3 лет назад
Родитель
Сommit
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).

Загрузка…
Отмена
Сохранить