mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 23:04:45 -05:00
fix(ext/node): read(0) before destroying http2stream (#23505)
This patch enables gRPC hello world client example to work. Towards #23246 #3326
This commit is contained in:
parent
5cae343991
commit
8503311641
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue