소스 검색

ft: 适配eNet修改

master
SisMaker 1 년 전
부모
커밋
a903be090c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/wsSrv/wsHttp.erl

+ 1
- 1
src/wsSrv/wsHttp.erl 파일 보기

@ -150,7 +150,7 @@ handleMsg({?mSockReady, Sock}, State) ->
inet:setopts(Sock, [{packet, raw}, {active, true}]),
{ok, State#wsState{socket = Sock}};
handleMsg({?mSockReady, Sock, SslOpts, SslHSTet}, State) ->
case wsSslAcceptor:handshake(Sock, SslOpts, SslHSTet) of
case ntSslAcceptor:handshake(Sock, SslOpts, SslHSTet) of
{ok, SslSock} ->
ssl:setopts(Sock, [{packet, raw}, {active, true}]),
{ok, State#wsState{socket = SslSock, isSsl = true}};

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