summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/node/polyfills/http2.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/node/polyfills/http2.ts b/ext/node/polyfills/http2.ts
index 02e66e3da..bc8347469 100644
--- a/ext/node/polyfills/http2.ts
+++ b/ext/node/polyfills/http2.ts
@@ -1019,6 +1019,7 @@ export class ClientHttp2Stream extends Duplex {
core.tryClose(this[kDenoResponse].bodyRid);
this.push(null);
debugHttp2(">>> read null chunk");
+ this.read(0);
this[kMaybeDestroy]();
return;
}