mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +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:
parent
74bfce0eb0
commit
f689c66827
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user