Fix swapped FastCGI responses
This commit is contained in:
parent
27eafbbe2e
commit
3b3a29009b
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -491,7 +491,7 @@ Mod.prototype.callback = function (req, res, serverconsole, responseEnd, href, e
|
|||
env: env
|
||||
};
|
||||
|
||||
handler = createFastCGIHandler(options);
|
||||
var handler = createFastCGIHandler(options);
|
||||
handler.on("error", function (error) {
|
||||
var errorcode = 0;
|
||||
if (error.code == "ENOTFOUND" || error.code == "EHOSTUNREACH" || error.code == "ECONNREFUSED") {
|
||||
|
|
Loading…
Reference in a new issue