http: remove a pair of outdated comments
Fixes: https://github.com/nodejs/node/issues/21202 PR-URL: https://github.com/nodejs/node/pull/21214 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
928805bb22
commit
4d91d0164d
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user