mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added full agent ping/pong support on SSH/SFTP sessions.
This commit is contained in:
parent
93e8f2cdcf
commit
5869782bdf
3 changed files with 61 additions and 28 deletions
|
@ -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"}');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue