From 3f367826cc863bf7e1ba59f7fdb4dc1ff5e36073 Mon Sep 17 00:00:00 2001 From: Dillon Regimbal Date: Tue, 30 Jul 2019 09:15:20 -0400 Subject: [PATCH] Send correct content-length The "Mining Proxy Online" string was being truncated from 19 to 18 characters ("Mining Proxy Onlin") --- proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy.js b/proxy.js index 063b1c3..848d874 100644 --- a/proxy.js +++ b/proxy.js @@ -35,7 +35,7 @@ let debug = { global.threadName = ''; let nonceCheck = new RegExp("^[0-9a-f]{8}$"); let activePorts = []; -let httpResponse = ' 200 OK\nContent-Type: text/plain\nContent-Length: 18\n\nMining Proxy Online'; +let httpResponse = ' 200 OK\nContent-Type: text/plain\nContent-Length: 19\n\nMining Proxy Online'; let activeMiners = {}; let activeCoins = {}; let bans = {};