diff --git a/svr.js b/svr.js index 40734fd..252281a 100644 --- a/svr.js +++ b/svr.js @@ -2927,8 +2927,7 @@ if (!cluster.isPrimary) { if (typeof (b) == "object") table = b; if (table == undefined) table = this.tHeaders; table = JSON.parse(JSON.stringify(table)); - var tableKeysT = Object.keys(table); - tableKeysT.forEach(function (key) { + Object.keys(table).forEach(function (key) { var al = key.toLowerCase(); if (al == "transfer-encoding" || al == "connection" || al == "keep-alive" || al == "upgrade") delete table[key]; });