Multiplexor Fix.
Ylian Saint-Hilaire committed
Apr 28, 2020 at 14:19 UTC
78512e85cb4313e9c1317a9070dcd771141689e3
2 files changed
+3
-1
meshdesktopmultiplex.js
+2
@@ -801,6 +801,7 @@ module.exports.CreateMeshRelay = function (parent, ws, req, domain, user, cookie
801
if (obj.id == null) { try { obj.close(); } catch (e) { } return null; } // Attempt to connect without id, drop this.
802
ws._socket.setKeepAlive(true, 240000); // Set TCP keep alive
803
804
+ /*
805
// Validate that the id is valid, we only need to do this on non-authenticated sessions.
806
// TODO: Figure out when this needs to be done.
807
if ((user == null) && (!parent.args.notls)) {
@@ -811,6 +812,7 @@ module.exports.CreateMeshRelay = function (parent, ws, req, domain, user, cookie
812
if ((Date.now() - parseInt(ids[1])) > 120000) { ws.close(); delete obj.id; return null; } // Expired time, drop this.
813
obj.id = ids[0];
814
}
815
+ */
816
817
// Setup the agent PING/PONG timers
818
if ((typeof parent.parent.args.agentping == 'number') && (obj.pingtimer == null)) { obj.pingtimer = setInterval(sendPing, parent.parent.args.agentping * 1000); }
package.json
+1
-1
@@ -1,6 +1,6 @@
1
{
2
"name": "meshcentral",
3
- "version": "0.5.16",
3
+ "version": "0.5.17",
4
"keywords": [
5
"Remote Management",
6
"Intel AMT",