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

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

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;