From 6aade4a7659118774a9399c1ca27e3f6d3c62fd7 Mon Sep 17 00:00:00 2001 From: "Mark S. Everitt" Date: Fri, 8 Jun 2018 15:49:26 +0100 Subject: [PATCH] http: remove a pair of outdated comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://github.com/nodejs/node/issues/21202 PR-URL: https://github.com/nodejs/node/pull/21214 Reviewed-By: Ben Noordhuis Reviewed-By: Michaƫl Zasso Reviewed-By: Gireesh Punathil Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Weijia Wang Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat Reviewed-By: Colin Ihrig --- lib/_http_common.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/_http_common.js b/lib/_http_common.js index ab075dc817ed6f..32fc782331e2bd 100644 --- a/lib/_http_common.js +++ b/lib/_http_common.js @@ -109,8 +109,6 @@ function parserOnHeadersComplete(versionMajor, versionMinor, headers, method, return parser.onIncoming(incoming, shouldKeepAlive); } -// XXX This is a mess. -// TODO: http.Parser should be a Writable emits request/response events. function parserOnBody(b, start, len) { const stream = this.incoming;