mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:42:32 +03:00
Version 0.7.39
This commit is contained in:
parent
9db21badb1
commit
dec0add176
@ -1730,8 +1730,8 @@ function connectTunnel(url) {
|
|||||||
try { cmd = JSON.parse(rawdata.toString()); } catch (ex) { return; }
|
try { cmd = JSON.parse(rawdata.toString()); } catch (ex) { return; }
|
||||||
if (cmd.reqid == 'up') {
|
if (cmd.reqid == 'up') {
|
||||||
if ((cmd.action == 'uploadack') || (cmd.action == 'uploadstart')) {
|
if ((cmd.action == 'uploadack') || (cmd.action == 'uploadstart')) {
|
||||||
var buf = Buffer.alloc(4096);
|
var buf = Buffer.alloc(16384);
|
||||||
var len = require('fs').readSync(settings.uploadFile, buf, 1, 4095, settings.uploadPtr);
|
var len = require('fs').readSync(settings.uploadFile, buf, 1, 16383, settings.uploadPtr);
|
||||||
var start = 1;
|
var start = 1;
|
||||||
settings.uploadPtr += len;
|
settings.uploadPtr += len;
|
||||||
if (len > 0) {
|
if (len > 0) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.7.38",
|
"version": "0.7.39",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Device Management",
|
"Remote Device Management",
|
||||||
"Remote Device Monitoring",
|
"Remote Device Monitoring",
|
||||||
|
Loading…
Reference in New Issue
Block a user