From 3b3a29009b0c978536d7a3e260255b91d69d3d3b Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Wed, 24 Apr 2024 18:02:15 +0200 Subject: [PATCH] Fix swapped FastCGI responses --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5534c3b..e6f6dc9 100644 --- a/index.js +++ b/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") {