forked from svrjs/svrjs
Fix comparison optimized in the previous commit
This commit is contained in:
parent
4a24b9d892
commit
6c8873ce3f
1 changed files with 1 additions and 1 deletions
2
svr.js
2
svr.js
|
@ -2930,7 +2930,7 @@ if (!cluster.isPrimary) {
|
|||
var tableKeysT = Object.keys(table);
|
||||
tableKeysT.forEach(function (key) {
|
||||
var al = key.toLowerCase();
|
||||
if (al == "transfer-encoding" && al == "connection" && al == "keep-alive" && al == "upgrade") delete table[key];
|
||||
if (al == "transfer-encoding" || al == "connection" || al == "keep-alive" || al == "upgrade") delete table[key];
|
||||
});
|
||||
if (res.stream && res.stream.destroyed) {
|
||||
return false;
|
||||
|
|
Reference in a new issue