From 79f7f564f8a3e2d049ffea606e59ad6c5896e272 Mon Sep 17 00:00:00 2001 From: Caleb Lloyd Date: Thu, 22 Aug 2024 00:05:27 -0400 Subject: [PATCH] fix(ext/node): http2session ready state Signed-off-by: Caleb Lloyd --- ext/node/polyfills/http2.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/node/polyfills/http2.ts b/ext/node/polyfills/http2.ts index 98edf40f4e1159..cd6c47eeb65b98 100644 --- a/ext/node/polyfills/http2.ts +++ b/ext/node/polyfills/http2.ts @@ -513,6 +513,7 @@ export class ClientHttp2Session extends Http2Session { this.emit("error", e); } })(); + this[kState].flags |= SESSION_FLAGS_READY; this.emit("connect", this, {}); })(); }