There was an error while loading. Please reload this page.
1 parent 8044f89 commit b57350fCopy full SHA for b57350f
1 file changed
lib/_http_incoming.js
@@ -214,15 +214,7 @@ IncomingMessage.prototype.setTimeout = function setTimeout(msecs, callback) {
214
return this;
215
};
216
217
-// Argument n cannot be factored out due to the overhead of
218
-// argument adaptor frame creation inside V8 in case that number of actual
219
-// arguments is different from expected arguments.
220
-// Ref: https://bugs.chromium.org/p/v8/issues/detail?id=10201
221
-// NOTE: Argument adapt frame issue might be solved in V8 engine v8.9.
222
-// Refactoring `n` out might be possible when V8 is upgraded to that
223
-// version.
224
-// Ref: https://v8.dev/blog/v8-release-89
225
-IncomingMessage.prototype._read = function _read(n) {
+IncomingMessage.prototype._read = function _read() {
226
if (!this._consuming) {
227
this._readableState.readingMore = false;
228
this._consuming = true;
0 commit comments