mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-07-17 16:36:49 +00:00
VNC-275 added explicit keepalive
This commit is contained in:
parent
e54f263e55
commit
c088ab3d1a
9 changed files with 32 additions and 2 deletions
|
|
@ -106,6 +106,9 @@ void SMsgReader::readMsg()
|
|||
case msgTypeUnixRelay:
|
||||
readUnixRelay();
|
||||
break;
|
||||
case msgTypeKeepAlive:
|
||||
readKeepAlive();
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "unknown message type %d\n", msgType);
|
||||
throw Exception("unknown message type");
|
||||
|
|
@ -319,6 +322,11 @@ void SMsgReader::readFrameStats()
|
|||
handler->handleFrameStats(all, render);
|
||||
}
|
||||
|
||||
void SMsgReader::readKeepAlive()
|
||||
{
|
||||
handler->keepAlive();
|
||||
}
|
||||
|
||||
void SMsgReader::readQEMUMessage()
|
||||
{
|
||||
int subType = is->readU8();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue