mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added session disconnection log for desktop multiplex, #3437
This commit is contained in:
parent
f8e9426350
commit
42137aa1d1
3 changed files with 20 additions and 2 deletions
|
@ -1069,7 +1069,11 @@ function handleServerCommand(data) {
|
|||
else if ((data.protocol == 'files') && (tunnels[i].protocol == 5)) { disconnect = true; }
|
||||
else if ((data.protocol == 'tcp') && (tunnels[i].tcpport != null)) { disconnect = true; }
|
||||
else if ((data.protocol == 'udp') && (tunnels[i].udpport != null)) { disconnect = true; }
|
||||
if (disconnect) { if (tunnels[i].s != null) { tunnels[i].s.end(); } else { tunnels[i].end(); } }
|
||||
if (disconnect) {
|
||||
if (tunnels[i].s != null) { tunnels[i].s.end(); } else { tunnels[i].end(); }
|
||||
|
||||
// TODO: Log tunnel disconnection
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue