1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

More work on desktop multiplexor.

This commit is contained in:
Ylian Saint-Hilaire 2020-04-27 16:25:54 -07:00
parent 3cc6d8d297
commit 11ccefc612
2 changed files with 123 additions and 52 deletions

View file

@ -172,6 +172,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
obj.wsPeerSessions3 = {}; // ServerId --> UserId --> [ SessionId ]
obj.sessionsCount = {}; // Merged session counters, used when doing server peering. UserId --> SessionCount
obj.wsrelays = {}; // Id -> Relay
obj.desktoprelays = {}; // Id -> Desktop Multiplexor Relay
obj.wsPeerRelays = {}; // Id -> { ServerId, Time }
var tlsSessionStore = {}; // Store TLS session information for quick resume.
var tlsSessionStoreCount = 0; // Number of cached TLS session information in store.