2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

DevIo.pm: Fix ping bug (Forum #109910)

git-svn-id: https://svn.fhem.de/fhem/trunk@22105 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-06-03 19:30:49 +00:00
parent 74bfce0eb0
commit f689c66827

View File

@ -225,7 +225,6 @@ DevIo_DecodeWS($$)
} elsif($op == 9) { # Ping } elsif($op == 9) { # Ping
syswrite($hash->{TCPDev}, DevIo_MaskWS(0xA, $data)); # Pong syswrite($hash->{TCPDev}, DevIo_MaskWS(0xA, $data)); # Pong
Log3 $hash, 5, "Websocket ping: $data" if($data); Log3 $hash, 5, "Websocket ping: $data" if($data);
$hash->{".WSBUF"} = substr($data, 2);
return DevIo_DecodeWS($hash, ""); return DevIo_DecodeWS($hash, "");
} elsif($op == 10) { # Pong } elsif($op == 10) { # Pong