mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
More agent deflate compression support.
This commit is contained in:
parent
80b2709cea
commit
8be7984a60
5 changed files with 42 additions and 26 deletions
|
@ -1218,6 +1218,9 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
|
|||
if (typeof domain.notificationmessages.terminal == 'string') { command.soptions.notifyMsgTerminal = domain.notificationmessages.terminal; }
|
||||
if (typeof domain.notificationmessages.files == 'string') { command.soptions.notifyMsgFiles = domain.notificationmessages.files; }
|
||||
}
|
||||
|
||||
// Add tunnel pre-message deflate
|
||||
if (typeof parent.parent.config.settings.agentwscompression == 'boolean') { command.perMessageDeflate = parent.parent.config.settings.agentwscompression; }
|
||||
}
|
||||
|
||||
// If a response is needed, set a callback function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue