소스 검색

ft: 代码修改

master
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).

불러오는 중...
취소
저장