Sfoglia il codice sorgente

ft: 代码修改

master
SisMaker 3 anni fa
parent
commit
dd522aa7dd
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +2
    -2
      src/eWSrv.erl
  2. +1
    -1
      src/wsSrv/wsTPHer.erl

+ 2
- 2
src/eWSrv.erl Vedi File

@ -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 Vedi File

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

Caricamento…
Annulla
Salva