From dd522aa7dd76a74da8371d15c846355280fbf90c Mon Sep 17 00:00:00 2001 From: SisMaker <1713699517@qq.com> Date: Thu, 20 Jan 2022 10:50:39 +0800 Subject: [PATCH] =?UTF-8?q?ft:=20=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/eWSrv.erl | 4 ++-- src/{test/wsEgHer.erl => wsSrv/wsTPHer.erl} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/{test/wsEgHer.erl => wsSrv/wsTPHer.erl} (99%) diff --git a/src/eWSrv.erl b/src/eWSrv.erl index 8bd2ce0..bbb1f7e 100644 --- a/src/eWSrv.erl +++ b/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), diff --git a/src/test/wsEgHer.erl b/src/wsSrv/wsTPHer.erl similarity index 99% rename from src/test/wsEgHer.erl rename to src/wsSrv/wsTPHer.erl index 0b21176..251e4ad 100644 --- a/src/test/wsEgHer.erl +++ b/src/wsSrv/wsTPHer.erl @@ -1,4 +1,4 @@ --module(wsEgHer). +-module(wsTPHer). -behaviour(wsHer).