From a4370d00c8a505bc323810f97471ae31ee85d7a0 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 Fixes: https://github.com/nodejs/node/issues/21202 --- 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;