From 8f69b286dec641fd0ef799cff9a98a9983fc3cba Mon Sep 17 00:00:00 2001 From: Petras <15868923+kimberlake@users.noreply.github.com> Date: Wed, 11 Jul 2018 11:35:30 +0100 Subject: [PATCH] http: name anonymous function in _http_common.js Refs: https://github.com/nodejs/node/issues/8913 --- lib/_http_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_http_common.js b/lib/_http_common.js index 32fc782331e2bd..faa6fe629ae416 100644 --- a/lib/_http_common.js +++ b/lib/_http_common.js @@ -148,7 +148,7 @@ function parserOnMessageComplete() { } -const parsers = new FreeList('parsers', 1000, function() { +const parsers = new FreeList('parsers', 1000, function parsersCb() { const parser = new HTTPParser(HTTPParser.REQUEST); parser._headers = [];