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") {