Skip to content

Commit

Permalink
http: name anonymous function in _http_common.js
Browse files Browse the repository at this point in the history
Refs: #8913

PR-URL: #21755
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
kimberlake authored and targos committed Jul 19, 2018
1 parent a086604 commit a592871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_http_common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit a592871

Please sign in to comment.