mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Added full agent ping/pong support on SSH/SFTP sessions.
This commit is contained in:
@@ -109,6 +109,8 @@ var CreateAgentRedirect = function (meshserver, module, serverPublicNamePort, au
|
||||
} else if (controlMsg.type == 'webrtc2') {
|
||||
// TODO: Resume/Start sending data over WebRTC
|
||||
}
|
||||
} else if (controlMsg.type == 'ping') { // if we get a ping, respond with a pong.
|
||||
obj.sendCtrlMsg('{"ctrlChannel":"102938","type":"pong"}');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user