2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-27 16:43:29 +00:00

01_FHEMWEB.pm: fix the websocket close stuff (Forum #104718)

git-svn-id: https://svn.fhem.de/fhem/trunk@20400 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-10-23 17:50:05 +00:00
parent 33d770a5f5
commit f30060a71c

View File

@ -382,7 +382,7 @@ FW_Read($$)
# $op: 0=>Continuation, 1=>Text, 2=>Binary, 8=>Close, 9=>Ping, 10=>Pong
if($op == 8) {
# Close, Normal, empty mask. #104718
TcpServer_WriteBlocking($hash, pack("CCNn",0x88,0x82,0,1000));
TcpServer_WriteBlocking($hash, pack("CCn",0x88,0x2,1000));
TcpServer_Close($hash, 1);
return;