diff --git a/src/js/node/http.ts b/src/js/node/http.ts index 4dd8c38a8c..b9c7308b48 100644 --- a/src/js/node/http.ts +++ b/src/js/node/http.ts @@ -1298,7 +1298,6 @@ ServerResponse.prototype._write = function (chunk, encoding, callback) { ensureReadableStreamController.$call(this, controller => { controller.write(chunk); - //TODO: should we flush here? callback(); }); }; @@ -1322,7 +1321,6 @@ ServerResponse.prototype._writev = function (chunks, callback) { for (const chunk of chunks) { controller.write(chunk.chunk); } - //TODO: should we flush here? callback(); }); };