diff options
author | Anatoli Papirovski <apapirovski@mac.com> | 2018-04-18 09:28:16 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-04-23 15:59:26 +0200 |
commit | 1c84914c5a3bfc71969ca1930818d43192ae3ae8 (patch) | |
tree | 6315e6bde1767d13153febade57b2f64a2578a27 /lib | |
parent | 2e31d5db730a9957aa7ecd590b3464c1f2eb2a45 (diff) | |
download | android-node-v8-1c84914c5a3bfc71969ca1930818d43192ae3ae8.tar.gz android-node-v8-1c84914c5a3bfc71969ca1930818d43192ae3ae8.tar.bz2 android-node-v8-1c84914c5a3bfc71969ca1930818d43192ae3ae8.zip |
http: remove duplicate comment
A comment explaining kOnHeaders function of the parser was duplicated
in two places but the second instance was more confusing than helpful.
PR-URL: https://github.com/nodejs/node/pull/20126
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/_http_common.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/_http_common.js b/lib/_http_common.js index f34396ba8a..c8998f4d85 100644 --- a/lib/_http_common.js +++ b/lib/_http_common.js @@ -159,11 +159,6 @@ const parsers = new FreeList('parsers', 1000, function() { parser.incoming = null; parser.outgoing = null; - // Only called in the slow case where slow means - // that the request headers were either fragmented - // across multiple TCP packets or too large to be - // processed in a single run. This method is also - // called to process trailing HTTP headers. parser[kOnHeaders] = parserOnHeaders; parser[kOnHeadersComplete] = parserOnHeadersComplete; parser[kOnBody] = parserOnBody; |