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

Fixed CIRA session recording issue.

This commit is contained in:
Ylian Saint-Hilaire 2019-09-14 16:57:54 -07:00
parent 9a4376bd59
commit cdd1edfd61
4 changed files with 30 additions and 2 deletions

View file

@ -2267,7 +2267,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
} else {
// Log to recording file
data = Buffer.from(data, 'binary');
recordingEntry(ws.logfile.fd, 2, 2, data, function () { try { ws.send(data); } catch (e) { } }); // TODO: Add TLS support
recordingEntry(ws.logfile.fd, 2, 0, data, function () { try { ws.send(data); } catch (e) { } }); // TODO: Add TLS support
}
}
};